If you don’t have the labels and would like to use a classical computer vision approach, I would recommend to post the question in an OpenCV-specific discussion board or on StackOverflow, as your use case doesn’t seem to be PyTorch-specific.