質問編集履歴
1
他のエラーが発生
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
raspberry piでまばたき検出
|
1
|
+
raspberry piでまばたき検出 ディスプレイが開けない
|
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
pythonのファイルが置かれているディレクトリで以下を実行すると
|
26
26
|
|
27
|
-
|
27
|
+
python detect_blinks.py --shape-predictor shape_predictor_68_face_landmarks.dat --video blink_detection_demo.mp4
|
28
28
|
|
29
29
|
|
30
30
|
|
@@ -36,22 +36,10 @@
|
|
36
36
|
|
37
37
|
[INFO] starting video stream thread...
|
38
38
|
|
39
|
-
|
39
|
+
Unable to init server: Could not connect: 接続を拒否されました
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
-
(python:882): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
|
44
|
-
|
45
|
-
|
43
|
+
(Frame:952): Gtk-WARNING **: cannot open display:
|
46
|
-
|
47
|
-
File "detect_blinks.py", line 82, in <module>
|
48
|
-
|
49
|
-
frame = imutils.resize(frame, width=450)
|
50
|
-
|
51
|
-
File "/usr/local/lib/python2.7/dist-packages/imutils/convenience.py", line 69, in resize
|
52
|
-
|
53
|
-
(h, w) = image.shape[:2]
|
54
|
-
|
55
|
-
AttributeError: 'NoneType' object has no attribute 'shape'
|
56
44
|
|
57
45
|
```
|