USB Camera Logitech C170 - Imagenet

I tried to connect this camera to the Jetson Nano. Running Cheese app, I don´t have any problem. But when I tried with imagenet I had a fault. Then debugging I was trying to do it through gst streamer to see if it could be able.

I did it as follow:

gst-launch-1.0 v4l2src device="/dev/video0 ! "video/x-raw, width=640, height=480, format=(string)YUY2" ! xvimagesink -e

I suppose that if I did it as below the imagenet could work with the same code. I Will need help to know exactly which source code inside the imagenet library must modify to get it run. Thanks.

Hi monra86, have you tried launching the program with arguments like this:

imagenet-camera --camera=/dev/video0 --width=640 --height=480

It is working. Thanks.