Discussion:
MS-Windows: take a picture from the webcam
(too old to reply)
Harald Oehlmann
2024-11-08 09:46:58 UTC
Permalink
Dear Tcl/Tk developpers,

I have a MS-Windows Tablet with 2 cameras (front/back).
I want to read a QR-code using the cameras.
And the user should be guided by a picture while scanning.

What I need from Tk:
- select a camera
- take a picture (tk image ?)
- show it to the user (Tk label with an image ?) (probably scaled down)
- start the barcode decoder and get the information bc/no bc
- if no bc, get the next picture
- abort by an abort button

Does anybody has an idea for Tk for this ?

Thank you for any answer,
Harald
Harald Oehlmann
2024-11-08 10:53:43 UTC
Permalink
Post by Harald Oehlmann
Dear Tcl/Tk developpers,
I have a MS-Windows Tablet with 2 cameras (front/back).
I want to read a QR-code using the cameras.
And the user should be guided by a picture while scanning.
- select a camera
- take a picture (tk image ?)
- show it to the user (Tk label with an image ?) (probably scaled down)
- start the barcode decoder and get the information bc/no bc
- if no bc, get the next picture
- abort by an abort button
Does anybody has an idea for Tk for this ?
Thank you for any answer,
Harald
Incredible Mr-Androwish has the answer:

https://www.androwish.org/home/wiki?name=wmf+command
https://www.androwish.org/home/dir?ci=tip&name=undroid/tclwmf


https://www.androwish.org/home/file?name=assets/zbar0.10/zbartool.tcl&ci=tip

Thanks !
Harald
Olivier
2024-11-09 20:11:12 UTC
Permalink
Harald Oehlmann <***@yahoo.com> posted:

The closest architecture I know for that, and based on Tk is AuDela
https://sourceforge.net/projects/audela/

It is not very active but alive.
You could take picture from a telescope through a camera.
One difficulty is that it is based on BLT which with its tabnotebook
and image processing should answer to some of your needs.
But refactoring BLT no more have those functionalities I think.
The maintener has made some changes so you could contact him ?

Best regards,

Olivier.
Post by Harald Oehlmann
Dear Tcl/Tk developpers,
I have a MS-Windows Tablet with 2 cameras (front/back).
....
....
Thank you for any answer,
Harald
Harald Oehlmann
2024-11-10 15:09:09 UTC
Permalink
Dear Oliver,
thanks for the great pointer.
The work by magic-Mr-Androwish perfectly suites me.
I made it work with MS-VS2015 and Chritian integrated the patches !

Thanks for all,
Harald
Post by Olivier
The closest architecture I know for that, and based on Tk is AuDela
https://sourceforge.net/projects/audela/
It is not very active but alive.
You could take picture from a telescope through a camera.
One difficulty is that it is based on BLT which with its tabnotebook
and image processing should answer to some of your needs.
But refactoring BLT no more have those functionalities I think.
The maintener has made some changes so you could contact him ?
Best regards,
Olivier.
Post by Harald Oehlmann
Dear Tcl/Tk developpers,
I have a MS-Windows Tablet with 2 cameras (front/back).
....
....
Thank you for any answer,
Harald
Loading...