Alaska Software Inc. - Help with taking picture with webcam
Username: Password:
AuthorTopic: Help with taking picture with webcam
Frits Janse KokHelp with taking picture with webcam
on Fri, 08 Mar 2019 14:33:30 +0100
I hope someone has a program example how to make a portrait picture with 
a webcam with my xBase V2 program.

In the past I was able to connect a flatbed scanner, there for I used 
eztwain3.ch from Atalasoft, but I am afraid that this firm has stopped 
in developing xBase tools.


Kind regards,
Frits Janse Kok

---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com
Klaus OverhageRe: Help with taking picture with webcam
on Fri, 08 Mar 2019 17:30:24 +0100
Frits,
this should help. https://stackoverflow.com/questions/15721213/taking-a-picture-from-a-web-camera-using-winapi-in-delphi-7

Am 08.03.2019 um 14:33 schrieb Frits Janse Kok:
> I hope someone has a program example how to make a portrait picture with a webcam with my xBase V2 program.
> 
> In the past I was able to connect a flatbed scanner, there for I used eztwain3.ch from Atalasoft, but I am afraid that this firm has stopped in developing xBase tools.
> 
> 
> Kind regards,
> Frits Janse Kok
> 
> ---
> Deze e-mail is gecontroleerd op virussen door AVG.
> http://www.avg.com
>
Klaus OverhageRe: Help with taking picture with webcam
on Fri, 08 Mar 2019 17:39:04 +0100
Also you can ask Jim Lee for his WEBCAM Class. Maybe Jimmy can upload this Class here.

Am 08.03.2019 um 14:33 schrieb Frits Janse Kok:
> I hope someone has a program example how to make a portrait picture with a webcam with my xBase V2 program.
> 
> In the past I was able to connect a flatbed scanner, there for I used eztwain3.ch from Atalasoft, but I am afraid that this firm has stopped in developing xBase tools.
> 
> 
> Kind regards,
> Frits Janse Kok
> 
> ---
> Deze e-mail is gecontroleerd op virussen door AVG.
> http://www.avg.com
>
Jose Antonio Diego KerejeRe: Help with taking picture with webcam
on Fri, 08 Mar 2019 17:53:52 +0100
Hi,

You can find an example in:

    public.xbase++.activex
    Face extraction
    22/02/2015
    Jose Antonio Diego

Regards. Diego
Jonathan LeemingRe: Help with taking picture with webcam
on Sat, 09 Mar 2019 10:01:26 -0700
On 3/8/2019 9:53 AM, Jose Antonio Diego Kereje wrote:
> Hi,
> 
> You can find an example in:
> 
>     public.xbase++.activex
>     Face extraction
>     22/02/2015
>     Jose Antonio Diego
> 
> Regards. Diego
> 
Hi Diego,

I downloaded the Faces application and using ot4xb version 1.6.4.55 with 
Xbase 2.0 version 1079 built the Faces.exe.  I tried it on my Windows 10 
version 1607 Lenovo ThinkPad X1 Carbon and selected the "Integrated 
Camera" from the dropdown however mp1:= oDlg:oImage:currentResolution() 
returns NIL.  It appears that it is not successfully communicating with 
the built in camera.  I used the native windows "camera" application to 
confirm the camera's operation and also tried disabling my AV but the 
CurrentResolution() remains NIL and the camera image is black.

Any ideas?

Thanks... Jonathan

jonathan.leeming@the-family-centre.com
Edmonton, Alberta, Canada
Jonathan LeemingRe: Help with taking picture with webcam
on Sat, 09 Mar 2019 11:06:54 -0700
On 3/9/2019 10:01 AM, Jonathan Leeming wrote:
> On 3/8/2019 9:53 AM, Jose Antonio Diego Kereje wrote:
>> Hi,
>>
>> You can find an example in:
>>
>>     public.xbase++.activex
>>     Face extraction
>>     22/02/2015
>>     Jose Antonio Diego
>>
>> Regards. Diego
>>
> Hi Diego,
> 
> I downloaded the Faces application and using ot4xb version 1.6.4.55 with 
> Xbase 2.0 version 1079 built the Faces.exe.  I tried it on my Windows 10 
> version 1607 Lenovo ThinkPad X1 Carbon and selected the "Integrated 
> Camera" from the dropdown however mp1:= oDlg:oImage:currentResolution() 
> returns NIL.  It appears that it is not successfully communicating with 
> the built in camera.  I used the native windows "camera" application to 
> confirm the camera's operation and also tried disabling my AV but the 
> CurrentResolution() remains NIL and the camera image is black.
> 
> Any ideas?
> 
> Thanks... Jonathan
> 
Hi Again,

I copied required files to my wife's laptop and ran it.  Initially I 
just got a green screen in the preview section but disabled her AV and 
it worked fine.  I then went back to my laptop and found that I had most 
likely not originally disabled the Kaspersky AV.  Works fine now!

Thanks... Jonathan



jonathan.leeming@the-family-centre.com
Edmonton, Alberta, Canada
Frits Janse KokRe: Help with taking picture with webcam
on Sat, 09 Mar 2019 23:37:59 +0100
Op 8-3-2019 om 17:53 schreef Jose Antonio Diego Kereje:
> Hi,
> 
> You can find an example in:
> 
>     public.xbase++.activex
>     Face extraction
>     22/02/2015
>     Jose Antonio Diego
> 
> Regards. Diego
> 
Hi Klaus and Diego,

Thank you very much for the information.
It was very helpfull.
Now I am able to use the webcam and take pictures.
I do not use the findface() part, because I only need a simple picture 
for a menbership card.

Regards,

Frits Janse Kok


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com
Jim LeeRe: Help with taking picture with webcam
on Sun, 10 Mar 2019 08:26:00 +0100
hi,

>    public.xbase++.activex
>    Face extraction
>    22/02/2015
>    Jose Antonio Diego

what Windows Version are we talking about ?

i do have Problem with my Table PC (Lenovo 310 MiiX) under Windows 10 64Bit
and "Hello" WebCam.
Device-Box will open an show both CAM (Front/Rear) which i can select but i
can't Access it ?!
i do not have any Anti-Virus App (except Defender) on that Table PC.

---

i think i have read about VLC (VideoLan) and Video-Stream where you can take
a SnapShot.
have not tested it yet

---

i have test a Dot-Net Sample to access "Hello" WebCAM.
it work but i have not build interface to access it from "outside" ( Xbase++
using ActiveX )

---

so what i can say :
it depend on WebCAM and Windows Version where newer ("Hello" Type) may not 
work with AVI_CAP any more.



---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com