Skip to content

Commit baaa8a9

Browse files
committed
remove unused code
1 parent 64cb219 commit baaa8a9

File tree

10 files changed

+0
-1254
lines changed

10 files changed

+0
-1254
lines changed

dls_barcode/datamatrix/locate/locate.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import numpy as np
66

77
from .locate_contour import ContourLocator
8-
from .locate_square import SquareLocator
98

109

1110
class Locator:
@@ -78,14 +77,6 @@ def locate_deep(self, img, expected_radius=None, filter_overlap=False):
7877

7978
return finder_patterns
8079

81-
@staticmethod
82-
def locate_square(img, side_length):
83-
""" Use the square locator algorithm to find the most likely location of a single datamatrix in a small
84-
image (i.e., an image that just contains the datamatrix and its immediate surroundings. This is a 'best
85-
fit' algorithm so will always return a result regardless of what the image contains. """
86-
finder_pattern = SquareLocator().locate(img, side_length)
87-
return finder_pattern
88-
8980
@staticmethod
9081
def _contours_shallow(img):
9182
""" Run the contour locating algorithm with a single parameter set. """

0 commit comments

Comments
 (0)