Ask Your Question

Revision history [back]

Quit if There's No Match

Hello everyone, I'm working on a image-processing project with Java, Appium on mobile devices. In the code, I'm using Canny edge detector for template matching. But if there's no templae in image, it always finds a match. What I want to do is; if there's no matching, the code should give an exception. Are there any controls about it?