1. A method for detecting tampering with an image capturing device, comprising: determining a change has occurred in average intensity if an image; determining a percentage area of a foreground mask; detecting related at least one edge and determining at least one edge weight; utilizing the average intensity, the percentage area of the foreground mask, and the at least one edge weight to determining offset of edge blocks of an image; and utilizing the determining offset of edge blocks to detect tampering with an image capturing device.