JasonSatherr / DingTeamBot

1 stars 0 forks source link

Constrain the search space of the photo #2

Open JasonSatherr opened 2 years ago

JasonSatherr commented 2 years ago

Don't search the edges of the photo; we don't want people sitting in the store; drinking tea to be detected...

JasonSatherr commented 2 years ago

Use numpy slicing. cropped_image = img[80:280, 150:330]