Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:07 13 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : H7 + OV7670

Author Message
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 06:18am 26 Jun 2019
Copy link to clipboard 
Print this post

I am very interested in this. Regarding the Movement() function, does this only compare subsequent camera frames or can a frame be compared with a previously stored image? If so, at what frequency can this comparison be done? IOW, retrieving a stored image and comparing it with the current camera image.
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1945
Posted: 05:34am 30 Jun 2019
Copy link to clipboard 
Print this post

I remembered your post just now and don't know if you found your answer but I think this is what you want?

I was going through the MM.INFO$ commands in the manual and found the following:

MOVEMENT(sensitivity)

[code]
This function combines capturing a new image from an OV7670 camera with a
comparison with the currently displayed image. It returns the number of
pixels that are different between the images.

The sensitivity parameter controls whether or not a pixel is considered
to be different.

The algorithm works by converting each image to a 6-bit greyscale image.

The sensitivity is then the difference between the pixels that will be
counted as a change.

The top 20 and bottom 20 rows are ignored in the comparison.

This allows the user to use these for other display purposes without
artificially triggering the movement detection.
[/code]


NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025