Finding blank regions in image

后端 未结 3 596
旧巷少年郎
旧巷少年郎 2021-01-02 07:17

This question is somewhat language-agnostic, but my tool of choice happens to be a numpy array.

What I am doing is taking the difference of two images via PIL:

3条回答
  •  暖寄归人
    2021-01-02 07:49

    You could look for connected components in the image and then determine the bounding boxes of these components.

提交回复
热议问题