Harris corner detection for smarter product crops
A jewelry retailer’s smart crop kept locking onto diamond reflections, because edge detection flagged every one of them. Harris corner detection found the structural points instead. Here is the R score logic and the OpenCV implementation.