Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

webcam zoomer and area locator

For general discussion related FlowStone

webcam zoomer and area locator

Postby tester » Sun Mar 23, 2014 2:51 am

This little fellow should work with webcam (tested on picture, no webcam here), adding two cool features: zooming the picture and selecting the area you wish to see. Potential uses: eye movement registering, mouth positions registering, and so on. It's better than automatic tracking in situations, where position of tracked element is rather fixed per session.

Did anyone played with auto tracking of various elements, and following them automatically? Whole face is too big to be point of interest... :mrgreen:

Any interesting databases of Haar tables? (have no idea how it works).
Attachments
webcam-1-1-smallfix.fsm
(63.27 KiB) Downloaded 764 times
webcam1.fsm
(63.24 KiB) Downloaded 759 times
Last edited by tester on Sun Mar 23, 2014 11:58 am, edited 1 time in total.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: webcam zoomer and area locator

Postby KG_is_back » Sun Mar 23, 2014 3:00 am

Very nice!!! I didn't noticed how ugly I look when zoomed close xD
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: webcam zoomer and area locator

Postby tester » Sun Mar 23, 2014 11:40 am

Hehe, if it looks so bad, maybe you should upgrade your webcam. :lol:

I'm thinking to integrate motion/zoom zones within it, to reduce amount of visual elements. I think that:

1) click and drag - could zoom out 1:1 the picture and draw a small rectangle on a zoomed zone
2) the rectangle would be then moved around, to point the location to show (undrag would bring the zoomed place)
3) right click and drag (up/down) could be responsible for zoom in/out
4) right dbclick could zoom out 1:1 the picture

Second scenario would be to keep the zoom slider, and use right click to activate/deactivate motion mode. Thus - the zoomed rectangle would stay on track, and not follow the mouse automatically. Anyway - things to consider.

And now the mad science: there are few bitmap primitives that could do interesting stuff with the picture itself. :-)

ColourDetect, MotionDetect, VideoSave (supports codecs! why can't this support be done for audio codecs as well?) and few others.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: webcam zoomer and area locator

Postby tester » Sun Mar 23, 2014 2:27 pm

Here are two possible scenarios.

Now - I doubt that it's worth to use a self-scaled small rectangle, that reflects zoom factor, because at higher zooms and small webcam window sizes at all - it woult be not usable. I think it is better to use pointer, to select the center of your interest (camtasia style).
Attachments
webcam-1-2-merging.fsm
(63.19 KiB) Downloaded 778 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: webcam zoomer and area locator

Postby tester » Mon Mar 24, 2014 2:13 am

Hmm... And how to save to a file not the whole bitmap/picture, but only the cropped area that is displayed?

//edit:

Okay, found it. I have vague idea how exactly this works, but it works. :-)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet


Return to General

Who is online

Users browsing this forum: No registered users and 70 guests

cron