helmet
and nohelmet
. I uploaded the pictures to Edge Impulse using the Data acquisition tab, then I went to the Labeling queue.
helmet
and nohelmet
.
edge-impulse-runner
on the board and the model will be directly downloaded on to the AM62A.
Note: You can also just clone my trained model instead of training a new one. The Public Project URL link is https://studio.edgeimpulse.com/public/295740/latest
root
as the user, and no passwordnpm config set user root && sudo npm install edge-impulse-linux -g --unsafe-perm
sudo pip3 install requests
(this will be required later to publish the detection rate for the WiFi traffic light module)edge-impulse-linux-runner --force-engine tidl --force-target runner-linux-aarch64-am62a
. The first time you run this, you will need to login to your Edge Impulse account and select the right project. Once running, launch a web browser and navigate to your board’s IP address, port 4912. For example, http://192.168.1.66:4912
in my case.am62a_traffic.py
file from the GitHub repository and then upload the script to the AM62A board using SFTP. The credentials are the same as logging in directly: You’ll need your IP address, username is root
, and there is no password.updateHelmet.php
and helmet.ini
(which are also available in the same GitHub repo as earlier) to a web server, assigned 777 permissions to helmet.ini
, and edited the URL inside the am62a_traffic.py
file on the AM62A.
Note: For this prototype, only one inference value is uploaded to the server. For a multi-traffic light environment, unique IDs would have to be added (and also security controls).
green
, yellow
and red.png
)
To begin, connect a USB-C cable to the Unihiker, open a web browser to http://10.1.2.3
, enter your WiFi SSID and password, and obtain the new IP address of the Unihiker.
Now with that Unihiker on the same network, you can connect via SFTP to the Unihiker using the user root
and password dfrobot
, and upload the unihiker_trafficLight.py
file (again, obtained from the GitHub repo) and the three traffic light images to the /images
folder.
python3 am62a_traffic.py
python unihiker_trafficLight.py
am62a_traffic.py
file, and you are all set.