Hi everyone, I have one project that must process images with c language. I have finished my class and can check the image. But how can I get image from a webcam that is pluged to udoo quad. I have ask this question to MR. Google and have find some links. One of them is this link. Can anybody share helpfull links. Or is it possible to do this. Thanks
In the link you gave is a reference to a github from Francesco. When you look in the source you see a shotimage.sh that takes a still from a webcam. Code: if [ -f "/etc/udoo-config.conf" ] then WEBCAM="/dev/v4l/by-id/usb-Vimicro_Vimicro_USB_Camera__Altair_-video-index0" else WEBCAM="/dev/video0" fi fswebcam -d $WEBCAM -r 640x480 --no-banner ../public/webcam.jpg
@waltervl thanks for your replay. I'm by the way to exam it. One more question. Can I activite the camare with sensor. İf one product is come to sensor the sensor will activite the camere?
Sure, no problem. Read the digital pin and activate the still program. For c/c++ to take stills also take a look at http://stackoverflow.com/questions/15470553/taking-an-image-from-a-webcam-in-ubuntu-using-c