|
Forum Index : Microcontroller and PC projects : H7 + OV7670
| Author | Message | ||||
| Tinine Guru Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
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: AustraliaPosts: 1945 |
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 |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |