Last active
December 21, 2022 14:50
-
-
Save suzukieng/347c1d59ba6b9dad0d0505f8c22ed198 to your computer and use it in GitHub Desktop.
Sample image where LSL implementation fails...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The code snippet in https://stackoverflow.com/a/63261622/1370154 fails to find the top-right component (smaller circle). | |
It reports a total of 5 components, including the background. | |
Image width/height: 1000x1000 | |
Component 0: left=0, top=0, width/height (1000, 1000), area: 839767 | |
Component 1: left=190, top=189, width/height (179, 139), area: 24881 | |
Component 2: left=18, top=453, width/height (291, 93), area: 27063 | |
Component 3: left=369, top=471, width/height (318, 325), area: 81226 | |
Component 4: left=645, top=862, width/height (291, 93), area: 27063 | |
Total component area: 1000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment