質問編集履歴
3
題名の修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
FlaskでIPカメラの映像をリアルタイムに解析、加工して表示し、任意のキャプチャ画像も同じ画面上に表示したい
|
test
CHANGED
File without changes
|
2
参照先gitプロジェクトの変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
FlaskでIPカメラの映像をリアルタイムに解析、加工して表示し、任意のキャプチャ画像も同じ画面上に表示したい
|
1
|
+
gitFlaskでIPカメラの映像をリアルタイムに解析、加工して表示し、任意のキャプチャ画像も同じ画面上に表示したい
|
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
[参考にしたサイト](https://qiita.com/Gyutan/items/1f81afacc7cac0b07526)
|
34
34
|
|
35
|
-
[上記サイトを参考に作成したプログラム](https://github.com/iruka-man/sample
|
35
|
+
[上記サイトを参考に作成したプログラム](https://github.com/iruka-man/sample.git)
|
36
36
|
|
37
37
|
|
38
38
|
|
1
軽微な修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,42 +78,6 @@
|
|
78
78
|
|
79
79
|
```
|
80
80
|
|
81
|
-
Debugging middleware caught exception in streamed response at a point where response headers were already sent.
|
82
|
-
|
83
|
-
Traceback (most recent call last):
|
84
|
-
|
85
|
-
File "/home/alsok-2nd/.local/lib/python3.6/site-packages/werkzeug/wsgi.py", line 870, in __next__
|
86
|
-
|
87
|
-
return self._next()
|
88
|
-
|
89
|
-
File "/home/alsok-2nd/.local/lib/python3.6/site-packages/werkzeug/wrappers.py", line 82, in _iter_encoded
|
90
|
-
|
91
|
-
for item in iterable:
|
92
|
-
|
93
|
-
File "/home/alsok-2nd/temp/teratail/sample3/app.py", line 34, in gen
|
94
|
-
|
95
|
-
emit('capture-send', { 'dataURL': prefix+base64.b64encode(frame).decode('utf-8')})
|
96
|
-
|
97
|
-
File "/home/alsok-2nd/.local/lib/python3.6/site-packages/flask_socketio/__init__.py", line 772, in emit
|
98
|
-
|
99
|
-
namespace = flask.request.namespace
|
100
|
-
|
101
|
-
File "/home/alsok-2nd/.local/lib/python3.6/site-packages/werkzeug/local.py", line 347, in __getattr__
|
102
|
-
|
103
|
-
return getattr(self._get_current_object(), name)
|
104
|
-
|
105
|
-
File "/home/alsok-2nd/.local/lib/python3.6/site-packages/werkzeug/local.py", line 306, in _get_current_object
|
106
|
-
|
107
|
-
return self.__local()
|
108
|
-
|
109
|
-
File "/home/alsok-2nd/.local/lib/python3.6/site-packages/flask/globals.py", line 37, in _lookup_req_object
|
110
|
-
|
111
|
-
raise RuntimeError(_request_ctx_err_msg)
|
112
|
-
|
113
|
-
RuntimeError: Working outside of request context.
|
114
|
-
|
115
|
-
|
116
|
-
|
117
81
|
This typically means that you attempted to use functionality that needed
|
118
82
|
|
119
83
|
an active HTTP request. Consult the documentation on testing for
|