Image - an image processing library based upon Vix

Image.compare/3 provides a reasonable basis for comparing images. It will also return an image that highlights the differences between the two images. This is most useful for human evaluation but it might be used for further image processing.

Video frames can be acquired through the Image.Video module - which is a simple wrapper around Evision.VideoCapture.

So yes, you can compare a master image to frames from a camera. But I don’t believe you’ll get sustainable real-time streaming performance at typical video frame rates.

I would consider looking at what native capabilities exist in evision which is NIF-based wrapper upon OpenCV.

You might find that membrane gives you a solid foundation for the video stream and capture functions which could then be combined with either eVision or potentially image.

2 Likes