質問編集履歴
3
画像です
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
pythonとOpenCVを使用して複数の物体を検出するテンプレートマッチングの下記サンプルですが
|
1
|
+
![![イメージ説明](eb7a75085b2a2a2df8b6ba1298b8faf3.jpeg)](9cb055155cdd7caa59410058275b3e7c.jpeg)pythonとOpenCVを使用して複数の物体を検出するテンプレートマッチングの下記サンプルですが
|
2
2
|
|
3
3
|
```
|
4
4
|
|
2
よろしくおねがいします
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
pythonとOpenCVを使用して複数の物体を検出するテンプレートマッチングの下記サンプルですが
|
2
2
|
|
3
|
+
```
|
4
|
+
|
3
|
-
|
5
|
+
import cv2
|
4
6
|
|
5
7
|
import numpy as np
|
6
8
|
|
1
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
pythonとOpenCVを使用して複数の物体を検出するテンプレートマッチングの下記サンプルですが
|
2
2
|
|
3
|
-
import cv2
|
3
|
+
```import cv2
|
4
4
|
|
5
5
|
import numpy as np
|
6
6
|
|
@@ -36,6 +36,6 @@
|
|
36
36
|
|
37
37
|
cv2.imwrite("result2.png", result)
|
38
38
|
|
39
|
-
|
39
|
+
```
|
40
40
|
|
41
41
|
expected an indented block と出て bottom_right の部分が色付けされます、何が原因でしょうか?
|