I'm trying to make an script with detects motion.
I know how to captura an image, but I have no idea about how to compare them.
My image has 640x480
I want to go pixel by pixel comparing, and if there are lot of differences I havemotion, but I don't know how to acces pixel by pixel.
Another idea was, using a gray scaling image (take a RGB and loading as "gray shades") compare brightness.
Any idea? Thanks.