A non-transitory computer-readable medium storing executable instructions, which when executed by controller circuitry, cause the controller circuitry to perform a method of detection processing, related to patterns having a given shape formed on a substrate, on at least one captured image obtained by imaging the substrate, the method including: detecting an image region in which one of the patterns is captured from the captured image; detecting a contour of the pattern in the image region; detecting a length measurement location for the pattern based on a detection result of the contour; acquiring condition information including at least one of coordinate designation, region designation, or text as a detection condition in at least one type of detection processing of detection processing of the image region, the detection processing of the contour, and the detection processing of the length measurement location.
Full Text
What is claimed is: