Avatar of third
thirdFlag for Philippines

asked on 

Webcam Screenshot

Hi,

I'm currently developing a program which captures image from a webcam. I have searched through the PAQs and found AmigoJack's sample code. All is well except that the captured image (i.e. webcam.jpg) renders black screen. It doesn't capture the content of the panel. Can someone guide me how to fix it? Thanks.

https://www.experts-exchange.com/questions/21749772/How-Can-I-get-image-from-webCam.html
https://www.experts-exchange.com/questions/21912239/webcam-shots.html
Delphi

Avatar of undefined
Last Comment
third
Avatar of mokule
mokule
Flag of Poland image

Which one do You used?

I've tested from the first link and it works ok
Avatar of third
third
Flag of Philippines image

ASKER

I actually tested both but all I get is a blank black image. Tested it using my desktop  but this time a blank white image was produced. If it works for you then the problem could be the virtual cam that I'm using. I'll try plugging a real webcam tomorrow and let you know if it works.

if you have time, can you also test using a virtual cam? I'm currently using this
http://www.download.com/VirtualCamera/3000-2348-10210221.html?part=dl-VirtualCa&subj=dl&tag=button

Let me know if the problem is the same.

Thanks.
Avatar of third
third
Flag of Philippines image

ASKER

I tried plugging a real webcam (logitech quickcam pro 4000) but I can't still get the captured image. what makes it strange is that when I test it on my desktop at home, the produced image is plain white while using my laptop at work produces plain black image. i'm using delphi 7. what version and webcam did you use? thanks.
ASKER CERTIFIED SOLUTION
Avatar of mokule
mokule
Flag of Poland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Balshe
Balshe

search for delphi twain component
Avatar of third
third
Flag of Philippines image

ASKER

I managed to solve this problem using DSPACK. For those who will encounter the same problem, try looking for the VMRSnapshot and videocap demos.

Even though I am awarding the points to mokule for his effort in helping me.
Delphi
Delphi

Delphi is the most powerful Object Pascal IDE and component library for cross-platform Native App Development with flexible Cloud services and broad IoT connectivity. It provides powerful VCL controls for Windows 10 and enables FMX development for Windows, Mac and Mobile. Delphi is your choice for ultrafast Enterprise Strong Development™. Look for increased memory for large projects, extended multi-monitor support, improved Object Inspector and much more. Delphi is 5x faster for development and deployment across multiple desktop, mobile, cloud and database platforms including 32-bit and 64-bit Windows 10.

60K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo