Stopping for the night
Browse files- interpretter_notes.py +5 -0
- understand.py +6 -0
interpretter_notes.py
CHANGED
|
@@ -125,4 +125,9 @@ array([[1907, 887],
|
|
| 125 |
[1908, 889],
|
| 126 |
[1908, 890],
|
| 127 |
[1908, 888]], dtype=int32)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
"""
|
|
|
|
| 125 |
[1908, 889],
|
| 126 |
[1908, 890],
|
| 127 |
[1908, 888]], dtype=int32)
|
| 128 |
+
"""
|
| 129 |
+
|
| 130 |
+
"""
|
| 131 |
+
>>> cv.boundingRect(c[0])
|
| 132 |
+
(399, 340, 5, 3)
|
| 133 |
"""
|
understand.py
CHANGED
|
@@ -161,3 +161,9 @@ def contour_map(map_to_use, label_id):
|
|
| 161 |
return contours, hierarchy
|
| 162 |
|
| 163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
return contours, hierarchy
|
| 162 |
|
| 163 |
|
| 164 |
+
# https://docs.opencv.org/4.9.0/dd/d49/tutorial_py_contour_features.html
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
# Idea for determining if close
|
| 168 |
+
# https://dsp.stackexchange.com/questions/2564/opencv-c-connect-nearby-contours-based-on-distance-between-them
|
| 169 |
+
# Bing Search: cv determine if 2 contours belong together
|