This repository is work for detection the number of perforation in edges from image of stamp.
-
How to use
from detect_new import getPerforationNum
top_num, bottom_num, left_num, right_num = getPerforationNum("input_pic/1.jpg")
print(top_num, bottom_num, left_num, right_num)