-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
Thanks for the amazing work! I am trying to use the config to detect boxes on my image but it's not detecting all the boxes.What i should change?
Not sure why it's not detecting some of the boxes.Any ideas?
from boxdetect import config
cfg = config.PipelinesConfig()
important to adjust these values to match the size of boxes on your image
cfg.width_range = (30,500)
cfg.height_range = (40,500)
the more scaling factors the more accurate the results but also it takes more time to processing
too small scaling factor may cause false positives
too big scaling factor will take a lot of processing time
cfg.scaling_factors = [1.0]
w/h ratio range for boxes/rectangles filtering
cfg.wh_ratio_range = (0.5,4.0)
group_size_range starting from 2 will skip all the groups
with a single box detected inside (like checkboxes)
cfg.group_size_range = (0,0)
num of iterations when running dilation tranformation (to engance the image)
cfg.dilation_iterations = 1
Metadata
Metadata
Assignees
Labels
No labels
