Background subtraction: best practices question
in
Programming Questions
•
2 years ago
Hi everyone,
I'm very new to processing, so bear with me if this is a stupid question. I have been hunting all over the forum (and the web) for an answer, but I can't seem to get my head around the logic.
I was wondering if anyone can point me in the direction of any tutorials that convey the recent best practices for background subtraction in processing. There seem to be a lot of libraries that are available to use that help with this (so far I have JMyron and GSVideo) but not a lot of documentation on the topics.
In short, I have found myself spending more time trying to adjust code to fit what I am doing that I feel should have been spent. What I am trying to do is create silhouettes based on the difference in pixels from the background shot, then break using the coordinates, affect a grid of squares (so in effect, the screen would display a matrix of blocks with a pixelated looking silhouette.
I think I understand the concept behind background subtraction - take a snapshot of the background, then analyse every incoming frame to check for the change in pixel color taking into account a tolerance. What I don't get is how to apply that concept to what I want to do and how these tools like JMyron and GSVideo can help. (I can find a lot of info on them). Any insight on the topic would be hugely helpful.
Thanks in advance!
1