Object detection and image classification with Snap! and Nvidia Jetson.
- Nvidia Jetson with Jetpack 4.6
- Docker
Use the docker/build.sh
to build docker container.
$ git clone https://github.com/EOLab-HSRW/Snapcon-workshop.git
$ cd Snapcon-workshop
$ docker/build.sh
Use the docker/run.sh
to run docker container.
$ docker/run.sh
You can run image classification and object detection program.
Run python websocket server in Nvidia Jetson and open classification program in Snap!.
Run python/Classification.py
in Nvidia Jetson.
python3 python/Classification.py
note: If it is the first time running the program, please wait couple of minutes for TensorRT to finish optimizing the network.
Open snap/Snap!_with_classification.xml
with Snap!.
note: Please use offline version of Snap! with Google Chrome browser to avoid any malfunction.
Write down your Nvidia Jetson ip adress as input for connect block
< ws://ip_address:4040 >.
note: You can use
ifconfig
command in Nvidia Jetson to obtain ip address.
Run python websocket server in Nvidia Jetson and open object detection program in Snap!.
Run python/Detection.py
in Nvidia Jetson.
python3 python/Detection.py
note: If it is the first time running the program, please wait couple of minutes for TensorRT to finish optimizing the network.
Open snap/Snap!_with_detection.xml
with Snap!.
note: Please use offline version of Snap! with Google Chrome browser to avoid any malfunction.
Write down your Nvidia Jetson ip adress as input for connect block
< ws://ip_address:4040 >.
note: You can use
ifconfig
command in Nvidia Jetson to obtain ip address.