Page 1 of 1

App Developer: USB Webcam Component

Posted: Tue Apr 25, 2023 3:28 pm
by stefan.erni
Hi Ben

How about a component for the App Developer for a webcam connected with a USB cable.
The first thing you should see is an image in a 2D panel.
The easiest would be these cheap cameras with full HD resolution.
Later you should be able to read one (or every) line of the camera with Flowcode.
This way it would be possible to recognise simple objects with flowcode or to use a cheap USB camera as a linear camera.
A real linear camera is much faster and much better but unfortunately expensive.

regards

Stefan

Different very cheap, easy to connect USB cameras
Snag_1dfab2a.png
Snag_1dfab2a.png (232.88 KiB) Viewed 2155 times
A professional linear camera over network (GIGE) with up to 80000 lines per second
Snag_1dfd23a.png
Snag_1dfd23a.png (506.14 KiB) Viewed 2155 times

Re: App Developer: USB Webcam Component

Posted: Wed Apr 26, 2023 2:52 pm
by BenR
Hi Stefan,

We have a canvas object in Flowcode that we can draw bitmap data to, if we can pull a bitmap from the camera source and repeat then should be easy enough.

I'll have a chat with Steve and see what he thinks.

Re: App Developer: USB Webcam Component

Posted: Mon May 15, 2023 10:52 am
by stefan.erni
Hi Ben
I looked at the canvas and that's how it should be.
I only film or photograph two or three white dots with the cameras and want to calculate the distance.
For that I would have to have access to the data array.
I guess I can then also display a cross in the image via an array.
And another little info, the external USB cameras have become even much cheaper.

Of course, other applications can also be made with the cameras like bar-code or QR Code.

regards

Stefan