:q
, etc.), I have decided to use an Ethernet cable connected to the router, obtain the IP by checking DHCP in the router admin page, and access through SSH and SFTP.
/run/media/mmcblk0p1
I have downloaded uenv.txt
and added this line at the end:
edge-impulse-linux-runner
output, detect the “ok” and “notok” labels, and produce some action. What do I mean by “some action”? In my previous TDA4VM project I have used Telegram to send notifications. In this case, I will try to turn off the machine whenever an incorrect posture is detected.
With a simple HIGH and LOW signal to the appropriate GPIO pin, the relay will enable or disable the Power to the machine.
Download the posture1.py
Python script from https://github.com/ronibandini/tda4vmPostureEnforcer, and then upload the script with FTP to /opt/edge_ai_apps
on the TDA4VM.
Now execute the script using: