App Developer: USB Webcam Component

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
stefan.erni
Valued Contributor
Posts: 758
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Flowcode v10 App Developer: USB Webcam Component

Post 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 702 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 702 times

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: App Developer: USB Webcam Component

Post 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.

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer: USB Webcam Component

Post 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

Post Reply