PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Front camera barcode read
Front camera barcode read
Iniciado por Sérgio Martins, jul., 19 2017 11:00 AM - 3 respostas
Publicado em julho, 19 2017 - 11:00 AM
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
Membro registado
637 mensagems
Popularité : +36 (36 votes)
Publicado em julho, 19 2017 - 2:38 PM
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 em julho, 21 2017 - 1:04 PM
Hi.

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

Best regards,
Sérgio Martins
Publicado em julho, 21 2017 - 3:06 PM
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