DSPRelated.com
Forums

Camera Motion Detection

Started by miracle_sksim September 26, 2007
Is there any examples or sample program that i can look at it using
camera to detect motion ?

Using blackfin 561 and 2 NTSC camera. Software VisualDSP 4 used.

Plan: Camera 1 will display the output video and once a motion (example
a person pass-by) it will activate camera 2 and output to the same
output.

hmmm.... is there any way that i can detect motion thru a camera ???

Like comparing YCrCb or using other alternatives ??

Suggestion ?? samples ??? references ???

And lastly, is there any digital zoom codes samples too.

Thanks.
Hello

Yes it is correct you can do it this way.

However the PPI can filter the crominance component, you just store in
memory the luminance,

you can configurate the DMA to work in DMA2d, and you set it for generate an
interrupt after each line is stored in L1 memory, is important that you work
with the data in L1 in order to get a better performance.

You can work in autobuffer mode and you work like in pipeline. While the DMA
is storing one line in L1, the core is processing the last line.

This way you must use like a ping pong buffer for your data.

After you process each line you activate one MDMA for store the result in
L3, this way you have the complete image in L3.

About the 4 substractions in each core cycle,

Take a look of this page
http://www.analog.com/processors/blackfin/training/workshops/ADST-170-SEC9-AdvInst-V1.2.pdf

BYE

2007/9/25, miracle_sksim :
>
> Is there any examples or sample program that i can look at it using
> camera to detect motion ?
>
> Using blackfin 561 and 2 NTSC camera. Software VisualDSP 4 used.
>
> Plan: Camera 1 will display the output video and once a motion (example
> a person pass-by) it will activate camera 2 and output to the same
> output.
>
> hmmm.... is there any way that i can detect motion thru a camera ???
>
> Like comparing YCrCb or using other alternatives ??
>
> Suggestion ?? samples ??? references ???
>
> And lastly, is there any digital zoom codes samples too.
>
> Thanks.
>

--
Att.
Ing. Diego Andr Botero Galeano
BSB Ingenier.
Bogota - Colombia.