Greetings, I have been using PD for audio for a number of years, but now I am boldly exploring the multimedia side of it. So I need a bit of help with my patch.
I am interested in using GEM with live camera to get the information on the moving object on the camera.
More specifically, are the moving objects (changes) present in four quadrants of the image, and what is the minimal distance from the center of the image 'r', as depicted in the image below.
Using the pix_background it is easy to extract only the changes on an image and extract moving objects, but how do I detect in which quadrant of the image are these objects present, and what is the minimum distance from the center of the image?
In the case of the illustration, the objects are in the quadrant 1 & 4, and the minimum distance from the center is 'r'.