opencv_edge_detection demo on Nano

Instructions say to install usb camera to run the demo. Did that and I get an error message. PANIC packages/sensors/V4L2Camera.cpp@105: [V4L2Camera] Format request failed with error: Invalid argument. Camera is a logitech c270. Tested the camera with cheese and its working just fine. So I checked the sensors file and tried to adjust the height and width to match the camera then I get an error that the driver wants 1:15 and its getting 2/15 fps. Any ideas?

It seems that something relate to the camera fps config wrong in your “” file.
Try the following config in “”


Good luck!