News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Motion Tracker

Started by Farabi, February 02, 2012, 05:02:55 AM

Previous topic - Next topic

Farabi

I created this long time ago, but never released the code. I was going into the mall on my town, and amazed when I looked at the door which is opened by itself. At first I though maybe the used infra red to detect movement, but after I experimented with it, I know that the door is controled by computers and the remembered each frame and then compared it with newest one. I tried to stand in front of the door, but then the door is closed, and when I move my hand, the door opened again by itself.

http://ompldr.org/vY2wwcg/SW_Graphic.rar

You can play with it and then connecting it into a microcontroler or a device so it can opened by it self. I put it to my glass so I can use my grass as a survelience camera.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Farabi

Tyring to figuring out the original idea is taking to much time for me, anyway, the algo is founded after 2 decades of research, I rather to look for tutorial now. Here is a nice one for the state of the art line edges detection.  http://www.aishack.in/2011/06/the-canny-edge-detector/
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Tedd

Quote from: Farabi on February 02, 2012, 05:02:55 AM
I was going into the mall on my town, and amazed when I looked at the door which is opened by itself. At first I though maybe the used infra red to detect movement, but after I experimented with it, I know that the door is controled by computers and the remembered each frame and then compared it with newest one. I tried to stand in front of the door, but then the door is closed, and when I move my hand, the door opened again by itself.

I'm afraid this is still just a simple infra-red detector. It triggers when there is a change in infra-red level above a threshold.
So, when you move from not being in view of the detector to in-view, this is a change in infra-red and the door is triggered. As you stand there, there is very little change, so the close-door timer triggers and the door closes again. Then you move your arms and that triggers once again.
No snowflake in an avalanche feels responsible.

vanjast

From what I remember Tedd's correct here.
From what I've seen (it may be different on your side), the IR detector has a sector lens/detector and works on change in IR signal across sectors, not pure IR presence. This filters out any 'hot' stationary objects. Hence the door closes when you stand still, and opens when you move again.
:8)

Farabi

What I know is, IR had a short distance. But I guess the door triger mechanism is a simple IR mechanism.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"