• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

How to use a webcam

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey all! So I really want to try my hand at making a program that implements a webcam. At first, I would just like to make a program that displays the current image from the webcam every, say, one second. The catch: I really would like to know if I can do this without downloading jmf, or fmj, or anything, for that matter. I am looking for someway to do it with the packages already available without downloads. Many thanks to you all for the great, quick, responses you always give!
 
Len Padson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
im looking for something without additional api's
 
Bartender
Posts: 15743
368
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, probably not.

A low level solution is to write native code that interacts with the webcam directly. I think a higher level solution is to query the operating system (again, natively) for video capturing devices through a driver and get a feed from there. I don't have experience with either method, but I would recommend looking into the latter option, unless you can find an even higher level solution (like a third party library that works for all kinds of operating systems).

You shouldn't try to reinvent the wheel. Embrace "additional APIs".
 
Climb the rope! CLIMB THE ROPE! You too tiny ad:
Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders
https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing
reply
    Bookmark Topic Watch Topic
  • New Topic