質問編集履歴
2
リサイズは関係なかったです。
title
CHANGED
File without changes
|
body
CHANGED
@@ -31,14 +31,4 @@
|
|
31
31
|
```Python3
|
32
32
|
OpenCV: out device of bound (0-0): 1
|
33
33
|
OpenCV: camera failed to properly initialize!
|
34
|
-
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /tmp/opencv-20170825-90583-1pdhamg/opencv-3.3.0/modules/imgproc/src/imgwarp.cpp, line 3483
|
35
|
-
Exception in thread Thread-8:
|
36
|
-
Traceback (most recent call last):
|
37
|
-
File "/Users/k_aki86/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 916, in _bootstrap_inner
|
38
|
-
self.run()
|
39
|
-
File "/Users/k_aki86/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 864, in run
|
40
|
-
self._target(*self._args, **self._kwargs)
|
41
|
-
File "/Users/k_aki86/Project/SimulatedFactory/ccamera/ccamera/camera_procs.py", line 69, in capture
|
42
|
-
frame = cv2.resize(frame, (200, 300))
|
43
|
-
cv2.error: /tmp/opencv-20170825-90583-1pdhamg/opencv-3.3.0/modules/imgproc/src/imgwarp.cpp:3483: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize
|
44
34
|
```
|
1
エラー内容について
title
CHANGED
File without changes
|
body
CHANGED
@@ -24,4 +24,21 @@
|
|
24
24
|
# 次のデバイスで試してみる
|
25
25
|
else:
|
26
26
|
cam_num += 1
|
27
|
+
```
|
28
|
+
|
29
|
+
エラー何用については下記の通りです。
|
30
|
+
|
31
|
+
```Python3
|
32
|
+
OpenCV: out device of bound (0-0): 1
|
33
|
+
OpenCV: camera failed to properly initialize!
|
34
|
+
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /tmp/opencv-20170825-90583-1pdhamg/opencv-3.3.0/modules/imgproc/src/imgwarp.cpp, line 3483
|
35
|
+
Exception in thread Thread-8:
|
36
|
+
Traceback (most recent call last):
|
37
|
+
File "/Users/k_aki86/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 916, in _bootstrap_inner
|
38
|
+
self.run()
|
39
|
+
File "/Users/k_aki86/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 864, in run
|
40
|
+
self._target(*self._args, **self._kwargs)
|
41
|
+
File "/Users/k_aki86/Project/SimulatedFactory/ccamera/ccamera/camera_procs.py", line 69, in capture
|
42
|
+
frame = cv2.resize(frame, (200, 300))
|
43
|
+
cv2.error: /tmp/opencv-20170825-90583-1pdhamg/opencv-3.3.0/modules/imgproc/src/imgwarp.cpp:3483: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize
|
27
44
|
```
|