IP Webcam for raspi

Question/Issue: is there a way to use IP Webcam to be the main camera for edge-impulse-linux-runner ? thanks

Maybe this EdgeImpulse Github file will work for you.

Hello @HudaQoi,

Yes, the example @MMarcial shared let you change the port on this line https://github.com/edgeimpulse/linux-sdk-python/blob/master/examples/image/classify.py#L25

Feel free to have a look at OpenCV documentation: OpenCV: cv::VideoCapture Class Reference

Best,

Louis

Thank you guys, i was having trouble because i am using webcam to collecting data and it was totally fine but when i used it for edge-impulse-linux-runner the video quality is blurred so i think maybe using a better camera will help. Or it is blurred because i ran FOMO in raspi 4 ?

Hello @HudaQoi,

What is the image size you set in your impulse?
If you selected 96x96 or 128x128, the display will resize it from that size. It could explain the blurry image you see

Best,

Louis

oh i see, i am using 160x160 btw. Maybe that’s why it blurred.
Thankyou so much