質問編集履歴
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,11 +16,7 @@
|
|
16
16
|
|
17
17
|
```
|
18
18
|
|
19
|
-
Pythonは応答していません
|
20
|
-
|
21
|
-
windo
|
19
|
+
error: OpenCV(4.0.1) C:\ci\opencv-suite_1573470242804\work\modules\imgproc\src\resize.cpp:3784: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
|
22
|
-
|
23
|
-
(読み込んだ動画を表示するウィンドウに出てきます)
|
24
20
|
|
25
21
|
```
|
26
22
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,13 +42,13 @@
|
|
42
42
|
|
43
43
|
# 保存パスの指定
|
44
44
|
|
45
|
-
save_path = "
|
45
|
+
save_path = "保存パス"
|
46
46
|
|
47
47
|
def main():
|
48
48
|
|
49
49
|
# 映像の取得".
|
50
50
|
|
51
|
-
cap = cv2.VideoCapture("
|
51
|
+
cap = cv2.VideoCapture("映像のパス")
|
52
52
|
|
53
53
|
# フレームの初期化 --- (*1)
|
54
54
|
|
@@ -82,7 +82,7 @@
|
|
82
82
|
|
83
83
|
if cnt > th:
|
84
84
|
|
85
|
-
print("
|
85
|
+
print("動体を検出")
|
86
86
|
|
87
87
|
cv2.imshow('PUSH ENTER KEY', img3)
|
88
88
|
|