PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Front camera barcode read
Front camera barcode read
Iniciado por Sérgio Martins, 19,jul. 2017 11:00 - 3 respuestas
Publicado el 19,julio 2017 - 11:00
Hi.

I try to use BCCapture to read barcodes and everything works fine.
Now I need to use the front camera to do the same.
I try to find some parameter in windev mobile or some configuration in the barcode read software, but with no success.

Can help me and explain me how can I use front camera to read barcodes.

Thanks.

Best regards,
Sérgio Martins
Miembro registrado
637 mensajes
Popularité : +36 (36 votes)
Publicado el 19,julio 2017 - 14:38
Hi,

You can use :

VidéoParamètre(vipCaméra, vipCaméraFrontale) for front camera
VidéoParamètre(vipCaméra, vipCaméraDorsale) for back camera

If you need to know if any device has 2 cameras and get indices for back and front camera you can do :

gsCamInd est une chaîne
gsCamInd = VidéoListeParamètre(vipCaméra)
SI ErreurDétectée = Faux ALORS
Info(gsCamInd)
FIN

regards,
Eric.

--
Eric DELATTRE
http://www.yoosite.fr
Publicado el 21,julio 2017 - 13:04
Hi.

Thanks for your help, with this tip I was able to solve my problem.

Best regards,
Sérgio Martins
Publicado el 21,julio 2017 - 15:06
Eric67 wrote:
Hi,

You can use :

VidéoParamètre(vipCaméra, vipCaméraFrontale) for front camera
VidéoParamètre(vipCaméra, vipCaméraDorsale) for back camera

If you need to know if any device has 2 cameras and get indices for back and front camera you can do :

gsCamInd est une chaîne
gsCamInd = VidéoListeParamètre(vipCaméra)
SI ErreurDétectée = Faux ALORS
Info(gsCamInd)
FIN

regards,
Eric.

--
Eric DELATTRE
http://www.yoosite.fr


Hi.

Thanks you solve my problem, something that the windev support say that is impossible to do.

Best regards,
Sérgio Martins