Skip to content
This repository was archived by the owner on Mar 17, 2024. It is now read-only.

Commit 8416f4c

Browse files
authored
(#7) Disable saving haystack and needle images (#8)
1 parent f5df6d7 commit 8416f4c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/template-matching-finder.class.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ export default class TemplateMatchingFinder implements ImageFinderInterface {
4141
`Failed to load ${matchRequest.haystack.id}, got empty image.`,
4242
);
4343
}
44-
cv.imwrite("./haystack.png", haystack);
45-
cv.imwrite("./needle.png", needle);
4644

4745
throwOnTooLargeNeedle(haystack, needle, this.scaleSteps[this.scaleSteps.length - 1]);
4846

0 commit comments

Comments
 (0)