Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

want to create c++ project for webcam access in linux

Status
Not open for further replies.

g_shyam1682

Full Member level 4
Full Member level 4
Joined
Jan 11, 2010
Messages
204
Helped
53
Reputation
106
Reaction score
43
Trophy points
1,308
Location
Udaipur-Rajshan-India
Visit site
Activity points
2,538
Hello friends,

I am newbie in embedded linux, and i want to create one c++ project.
In my project, i want to access my laptop webcam and take photo and save in my project_photo folder.
This project i am doing only for learning linxu and its API and how hardware interface done in linux.

Please help me to understand, how to start and where to start.

Regards,
Ghanshyam Dudhat
 

Most linuxes today use the UVC driver to control webcams. You might want to take a look at the UVC driver documentation in the linux kernel source code: Documentation/video4linux/uvcvideo.txt. Most userspace tools will use the v4l2 interface i.e. /dev/videoX device.

Here's an example I found with a quick search: **broken link removed**

For a more detailed code I recomment you download and look at the source code of one of the open source webcam projects i.e. Fswebcam.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top