NVIDIA-AI-IOT / jetson-cloudnative-demo

Multi-container demo for Jetson Xavier NX and Jetson AGX Xavier
MIT License
187 stars 45 forks source link

Run the demo on webcam(s) #2

Open Tetsujinfr opened 4 years ago

Tetsujinfr commented 4 years ago

Hi,

is there a way to run the demo on a webcam or with multiple webcams ? for instance one different camera flow for each container?

thanks

jaybdub commented 4 years ago

Hi Tetsujinfr,

Thanks for reaching out!

While this demo isn't configured to run from a camera, it may be possible to extend them to do so.

You may need to launch the containers in interactive mode, and then modify the scripts that each container is executing. For the gaze and pose containers, this would largely mean replacing the video file reader with a method to read the camera images in Python.

Please let me know if this helps or you run into any issues.

Best, John

AK51 commented 4 years ago

I am new to Xaiver NX, is there an instruction of how to modify the code? Or is there a script I can try? Thx