質問編集履歴
1
説明の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,15 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
File "detecter.py", line 80, in <module>
|
6
|
+
|
7
|
+
detect(img)
|
8
|
+
|
9
|
+
File "detecter.py", line 23, in detect
|
10
|
+
|
11
|
+
frame[(hypot - rows) * 0.5:(hypot + rows) * 0.5, (hypot - cols) * 0.5:(hypot + cols) * 0.5] = gray
|
12
|
+
|
5
|
-
slice indices must be integers or None or have an __index__ method
|
13
|
+
TypeError: slice indices must be integers or None or have an __index__ method
|
6
14
|
|
7
15
|
|
8
16
|
|