# US 2022/0292716 A1 · Technologies for detecting crop marks in electronic documents using reference images

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292716 A1
- Document ID: US20220292716A1
- Status: Published application
- Kind: A1
- Application number: 17/691,816
- Filed: 2022-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: Cimpress Schweiz GmbH
- Applicants: Cimpress Schweiz GmbH
- Inventors: Anshul Garg; Ajay Joshi
- Web page: https://patentgrep.com/patent/US20220292716A1

## CPC

- G06T 7/74: {involving reference images or patches}
- G06V 30/40: Document-oriented image-based pattern recognition
- G06T 7/10: Segmentation; Edge detection (motion-based segmentation G06T7/215)
- G06T 7/13: Edge detection
- G06V 10/245: {by locating a pattern; Special marks for positioning}
- G06V 10/60: relating to illumination properties, e.g. using a reflectance or lighting model
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G06T 2207/20132: Image cropping
- G06T 2207/30204: Marker
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Systems and methods for detecting crop marks depicted in digital images are disclosed. According to certain aspects, an electronic device detects a set of crop marks in a reference digital image and aligns the reference digital image with an input digital image. Based on locations of the detected crop marks as aligned to the input digital image, the electronic device detects a set of partial crop marks in the input digital image. As a result, the partial crop marks in the input digital image may be removed.

## Claims

### Claim 1

A computer-implemented method of detecting crop marks, the computer-implemented method comprising:
detecting, by a processor, a set of crop marks within a reference digital image;
determining, by the processor, a position of the reference digital image within an input digital image, wherein the input digital image comprises a set of partial crop marks;
mapping, by the processor based on the position of the reference digital image within the input digital image, a set of locations of the set of crop marks detected in the reference digital image to the input digital image; and
based on mapping the set of locations of the set of crop marks to the input digital image, detecting the set of partial crop marks within the input digital image.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein mapping the set of locations of the set of crop marks detected in the reference digital image to the input digital image comprises:
generating a set of boxes corresponding to the set of crop marks detected in the reference digital image; and
overlaying the set of boxes on the input digital image according to the position of the reference digital image within the input digital image.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein detecting the set of partial crop marks within the input digital image comprises:
detecting the set of partial crop marks within the set of boxes overlaid on the input digital image.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein detecting the set of partial crop marks within the set of boxes overlaid on the input digital image comprises:
for each of the set of boxes, analyzing a gradient change in pixel values of that box; and
based on analyzing the gradient change for each of the set of boxes, detecting the set of partial crop marks within the set of boxes.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
calculating a set of intersection points of either the set of crop marks in the reference digital image or the set of partial crop marks within the input digital image.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the reference digital image has an amount of corners, and wherein an amount of the set of intersection points is less than the amount of corners in the reference digital image.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein determining the position of the reference digital image within the input digital image comprises:
identifying a set of reference features in the reference digital image and a set of input features in the input digital image; and
based on the set of reference features and the set of input features, determining the position of the reference digital image within the input digital image.

### Claim 8

A system for detecting a crop marks, comprising:
a memory storing a set of computer-readable instructions; and
a processor interfacing with the memory and configured to execute the set of computer-readable instructions to cause the processor to:
detect a set of crop marks within a reference digital image,
determine a position of the reference digital image within an input digital image, wherein the input digital image comprises a set of partial crop marks,
map, based on the position of the reference digital image within the input digital image, a set of locations of the set of crop marks detected in the reference digital image to the input digital image, and
based on mapping the set of locations of the set of crop marks to the input digital image, detect the set of partial crop marks within the input digital image.

### Claim 9 (depends on 8)

The system of claim 8, wherein to map the set of locations of the set of crop marks detected in the reference digital image to the input digital image, the processor is configured to:
generate a set of boxes corresponding to the set of crop marks detected in the reference digital image, and
overlay the set of boxes on the input digital image according to the position of the reference digital image within the input digital image.

### Claim 10 (depends on 11)

The system of claim 11, wherein to detect the set of partial crop marks within the input digital image, the processor is configured to:
detect the set of partial crop marks within the set of boxes overlaid on the input digital image.

### Claim 11 (depends on 10)

The system of claim 10, wherein to detect the set of partial crop marks within the set of boxes overlaid on the input digital image, the processor is configured to:
for each of the set of boxes, analyze a gradient change in pixel values of that box, and
based on analyzing the gradient change for each of the set of boxes, detect the set of partial crop marks within the set of boxes.

### Claim 12 (depends on 8)

The system of claim 8, wherein the processor is further configured to:
calculate a set of intersection points of either the set of crop marks in the reference digital image or the set of partial crop marks within the input digital image.

### Claim 13 (depends on 12)

The system of claim 12, wherein the reference digital image has an amount of corners, and wherein an amount of the set of intersection points is less than the amount of corners in the reference digital image.

### Claim 14 (depends on 8)

The system of claim 8, wherein to determine the position of the reference digital image within the input digital image, the processor is configured to:
identify a set of reference features in the reference digital image and a set of input features in the input digital image, and
based on the set of reference features and the set of input features, determine the position of the reference digital image within the input digital image.

### Claim 15

A non-transitory computer-readable storage medium having stored thereon a set of instructions, executable by at least one processor of an electronic device, for detecting crop marks, the instructions comprising:
instructions for detecting a set of crop marks within a reference digital image;
instructions for determining a position of the reference digital image within an input digital image, wherein the input digital image comprises a set of partial crop marks;
instructions for mapping, based on the position of the reference digital image within the input digital image, a set of locations of the set of crop marks detected in the reference digital image to the input digital image; and
instructions for, based on mapping the set of locations of the set of crop marks to the input digital image, detecting the set of partial crop marks within the input digital image.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions for mapping the set of locations of the set of crop marks detected in the reference digital image to the input digital image comprise:
instructions for generating a set of boxes corresponding to the set of crop marks detected in the reference digital image; and
instructions for overlaying the set of boxes on the input digital image according to the position of the reference digital image within the input digital image.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the instructions for detecting the set of partial crop marks within the input digital image comprise:
instructions for detecting the set of partial crop marks within the set of boxes overlaid on the input digital image.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the instructions for detecting the set of partial crop marks within the set of boxes overlaid on the input digital image comprise:
instructions for, for each of the set of boxes, analyzing a gradient change in pixel values of that box; and
instructions for, based on analyzing the gradient change for each of the set of boxes, detecting the set of partial crop marks within the set of boxes.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions further comprise:
instructions for calculating a set of intersection points of either the set of crop marks in the reference digital image or the set of partial crop marks within the input digital image.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions for determining the position of the reference digital image within the input digital image comprise:
instructions for identifying a set of reference features in the reference digital image and a set of input features in the input digital image; and
instructions for, based on the set of reference features and the set of input features, determining the position of the reference digital image within the input digital image.
