I'm currently trying to develop a project using OpenCV. My use case is to identify cups. I know that in the Arduino App Lab they are using usb-c Webcams. However, given that I don't have such tools, is it possible to use a camera module such as this camera? which is said to be compatible with any arduino.
Hi @coollkaran
Is it cossible? Certainly. However, this will be a more challenging endeavor compared to the relatively straightforward approach of using a USB camera.
For example, here you can see a discussion from someone trying to use one of these cameras with a Raspberry Pi SBC:
had an unused Arduino Micro laying around. The SPI camera connects to this Arduino which streams the data to my RPi through its the serial USB interface. My RPi then just receives this from the usual /dev/USBx interface and displays it to me.
So they ended up having to use a whole Arduino board just to convert their ArduCam into a USB camera.
You should be able to obtain a suitable USB camera for significantly less than the price of that ArduCam product. Since the USB camera is a consumer product, they are more widely available than the relatively niche ArduCam module. Don't get me wrong, that SPI interface ArduCam module is very nice for use in an application where you want to interface with a microcontroller via a low level communication protocol suitable for a more minimal embedded system stack. It just isn't the best choice in the case of the UNO Q, where you have a full Linux machine already available to you, with USB host and USB video device class (UVC) support out of the box.
If you do want to use an ArduCam product, I recommend looking at their UVC line:
https://www.arducam.com/uvc-usb-camera-module.html
This one seems comparable to the product you were interested in: