LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-31-2008, 01:46 AM   #1
swift2008
Member
 
Registered: Jul 2008
Posts: 78

Rep: Reputation: 15
GUI for Camera


Hi all
i have a webcam connecting to my machine.
i need to develop GUI for that.
i have a button called "Capture Photo",
if i click this button an image have to capture and need to show in the GUI.

is it possible.
can i get a sample code for this.

any help it should be appreciable.
 
Old 12-31-2008, 11:00 AM   #2
clb
Member
 
Registered: Sep 2004
Location: UK
Distribution: Ubuntu
Posts: 117

Rep: Reputation: 16
What language are you using for development, and have you tried searching on Google for a solution?
 
Old 01-05-2009, 03:58 AM   #3
swift2008
Member
 
Registered: Jul 2008
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by clb View Post
What language are you using for development, and have you tried searching on Google for a solution?
I am using Gtk for GUI
and "C" for coding
 
Old 01-05-2009, 06:24 AM   #4
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
Have you checked if these apps could do the job?
Code:
ubuntu-intrepid$  apt-cache search webcam  grab
camgrab - A command line tool to download a single image from a webcam
gkrellkam - GKrellM plugin that displays a periodically updating image
gqcam - GTK Webcam control
luvcview - USB Video Class grabber
vgrabbj - grabs a image from a camera and puts it in jpg/png format
If you really want to code it yourself, did you have a look at the source code of these (and/or other) apps?

Last edited by Hko; 01-05-2009 at 07:55 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP camera and older PAL camera. Will a RJ45 to co-axle dongle do the trick. metallica1973 Linux - Networking 1 08-28-2008 04:18 AM
Writing GUI front-ends: what language + what GUI library? pear Programming 7 07-07-2008 08:17 AM
Digikam problem, only able to access camera as root, unknown protocol 'camera' vdemuth Slackware 2 06-22-2008 11:01 AM
USB Logitech STX Camera | sytem startup camera active problem delta function Slackware 0 08-06-2006 04:23 PM
Isn't Windows 95 or 98 a better GUI solution for old machines than an old Linux GUI lynchmob09 General 10 04-20-2004 01:24 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration