hi all 
i want to make a camera motion detection system and know the place of the motion. 
i'm thinking of making a script that take a picture from the usb camera every 1 second then detect if their is changes in the picture 
my  idea is to make it take a picture in second 1 and store that pic in a temp folder  
in second 2 it takes another pic and save it  
then it detect the visual pixel changes between the 2 images . if their is difference then their is a motion in the environment 
 
 
  
m