We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I did a script that analyze every frame of a video and puts a square with the average color of that frame. I need to trigger some function when the difference of the current and the last color is bigger than "x" value. How can I achieve this? --i tried to hex() the colors and dehex() but the detection of difference isn't working and usually shows a "0" all the time (even if the color changes a lot). This is urgent --a homework that i need to present in few hours--Thanks for any help, I really appreciate it.