Best way to detect if a pixel is within a video?