GitHub repository: kevinGodell/polygon-points
Primary language: JavaScript
Created: 2017-10-12T01:28:04Z
Description: Determine if an x y coordinate exists in a polygon. This is being used in a motion detection project where specific regions of an image are being filtered and measured. It works fast when iterating pixels because it caches the bounding box value and uses it to quickly eliminate non-targeted pixels from unnecessary difference calculations.