Coder Social home page Coder Social logo

No feed on dashboard about touchfree-v2 HOT 19 OPEN

saksham2001 avatar saksham2001 commented on September 15, 2024
No feed on dashboard

from touchfree-v2.

Comments (19)

saksham2001 avatar saksham2001 commented on September 15, 2024

@jeneel dash returns all errors in the command line can you add all the output produced by dash here. Also, please run the command pip freeze and also add the output here

from touchfree-v2.

rahularepaka avatar rahularepaka commented on September 15, 2024

I am running this on laptop and the feed does now turn on. Laptop camera is enabled for 1 sec and turns off again. No feed even when it is on for 1 sec.
image

Even I have the same issue. Any Fix?

from touchfree-v2.

saksham2001 avatar saksham2001 commented on September 15, 2024

@rahularepaka dash returns all errors in the command line can you add all the output produced by dash here. Also, please run the command pip freeze and also add the output here. Then, I will try to diagnose the problem.

from touchfree-v2.

saksham2001 avatar saksham2001 commented on September 15, 2024

@rahularepaka @jeneel I just retested it, it works fine for me. Make sure you have a folder named models that has the shape_predictor... and mask_detector... files.

from touchfree-v2.

rahularepaka avatar rahularepaka commented on September 15, 2024

@rahularepaka dash returns all errors in the command line can you add all the output produced by dash here. Also, please run the command pip freeze and also add the output here. Then, I will try to diagnose the problem.

absl-py==0.9.0
appdirs==1.4.4
argon2-cffi==20.1.0
asgiref==3.2.10
astroid==2.4.2
astunparse==1.6.3
attrs==19.3.0
autopep8==1.5.4
backcall==0.2.0
bleach==3.1.5
Brotli==1.0.7
cachetools==4.1.1
certifi==2020.6.20
cffi==1.14.2
chardet==3.0.4
click==7.1.2
cmake==3.18.0
colorama==0.4.3
comtypes==1.1.7
cycler==0.10.0
Cython==0.29.21
dash==1.14.0
dash-core-components==1.10.2
dash-daq==0.5.0
dash-html-components==1.0.3
dash-renderer==1.6.0
dash-table==4.9.0
decorator==4.4.2
defusedxml==0.6.0
distlib==0.3.1
Django==3.1
dlib==19.21.0
docutils==0.16
easygui==0.98.1
emoji==0.6.0
engineering-notation==0.6.0
entrypoints==0.3
face-recognition==1.3.0
face-recognition-models==0.3.0
ffpyplayer==4.3.1
filelock==3.0.12
Flask==1.1.1
Flask-Compress==1.5.0
future==0.18.2
gast==0.3.3
gitdb==4.0.5
gitpython==3.1.7
google-auth==1.20.1
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
grpcio==1.31.0
gspread==3.6.0
h5py==2.10.0
idna==2.10
imageio==2.9.0
imutils==0.5.3
ipykernel==4.6.1
ipynb-py-convert==0.4.6
ipython==5.5.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
isort==5.4.2
itsdangerous==1.1.0
jedi==0.17.2
Jinja2==2.11.2
joblib==0.16.0
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==6.1.6
jupyter-console==6.1.0
jupyter-core==4.6.3
Keras==2.4.3
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.2
Kivy==2.0.0rc3
kivy-deps.angle==0.2.0
kivy-deps.glew==0.2.0
kivy-deps.gstreamer==0.2.0
kivy-deps.sdl2==0.2.0
kivy-designer==0.1.dev0
Kivy-examples==2.0.0rc3
Kivy-Garden==0.1.4
kiwisolver==1.2.0
lazy-object-proxy==1.4.0
Markdown==3.2.2
MarkupSafe==1.1.1
matplotlib==3.3.1
mccabe==0.6.1
mistune==0.8.4
mpg123==0.4
nbconvert==5.6.1
nbformat==5.0.7
networkx==2.4
notebook==5.2.2
numpy==1.19.1
oauthlib==3.1.0
opencv-python==4.4.0.42
opt-einsum==3.3.0
packaging==20.4
pandocfilters==1.4.2
parso==0.8.0
pathtools==0.1.2
pickleshare==0.7.5
Pillow==7.2.0
pip-review==1.1.0
playsound==1.2.2
plotly==4.9.0
prometheus-client==0.8.0
prompt-toolkit==1.0.18
protobuf==3.13.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.6.0
pycparser==2.20
pydub==0.24.1
pygame==1.9.6
pyglet==1.5.7
Pygments==2.6.1
pylint==2.5.3
pyparsing==2.4.7
pypiwin32==223
PyQt5==5.15.0
PyQt5-sip==12.8.0
pyqt5-tools==5.15.0.1.7
pyrsistent==0.16.0
pyserial==3.4
python-dateutil==2.8.1
python-dotenv==0.14.0
python-vlc==3.0.11115
pyttsx3==2.90
pytz==2020.1
PyWavelets==1.1.1
pywin32==228
pywinpty==0.5.7
PyYAML==5.3.1
pyzbar==0.1.8
pyzmq==19.0.2
qtconsole==4.7.6
QtPy==1.9.0
requests==2.24.0
requests-oauthlib==1.3.0
retrying==1.3.3
rsa==4.6
scikit-image==0.17.2
scikit-learn==0.23.2
scipy==1.4.1
Send2Trash==1.5.0
simpleaudio==1.0.4
simplegeneric==0.8.1
six==1.15.0
sklearn==0.0
smmap==3.0.4
sqlparse==0.3.1
tensorboard==2.3.0
tensorboard-plugin-wit==1.7.0
tensorflow==2.3.0
tensorflow-estimator==2.3.0
termcolor==1.1.0
terminado==0.8.3
testpath==0.4.4
threadpoolctl==2.1.0
tifffile==2020.8.13
tk-tools==0.13.0
toml==0.10.1
tornado==4.5.3
tqdm==4.48.2
traitlets==4.3.3
turtles==1.0.0
urllib3==1.25.10
virtualenv==20.0.31
watchdog==0.10.3
wcwidth==0.2.5
webencodings==0.5.1
Werkzeug==1.0.1
widgetsnbextension==3.5.1
witkets==1.9
wrapt==1.12.1
xlwt==1.3.0

from touchfree-v2.

saksham2001 avatar saksham2001 commented on September 15, 2024

@rahularepaka You seem to have all the required libraries. Can you please post the output you are getting when you run the code. Also, can you recheck if you have a folder models with 2 files as given in the GitHub Repository.

from touchfree-v2.

rahularepaka avatar rahularepaka commented on September 15, 2024

@rahularepaka You seem to have all the required libraries. Can you please post the output you are getting when you run the code. Also, can you recheck if you have a folder models with 2 files as given in the GitHub Repository.

$ D:/Python/Python38/python.exe "d:/Python - Projects/TouchFree-v2/app.py"
2020-08-21 13:58:12.453836: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror:
cudart64_101.dll not found
2020-08-21 13:58:12.460262: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Dash is running on http://127.0.0.1:8050/

Warning: This is a development server. Do not use app.run_server
in production, use a production WSGI server like gunicorn instead.

  • Serving Flask app "app" (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
  • Running on http://127.0.0.1:8050/ (Press CTRL+C to quit)
    127.0.0.1 - - [21/Aug/2020 13:58:16] "GET / HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:16] "GET /_dash-layout HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:16] "GET /_dash-dependencies HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:17] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:18] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:19] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:20] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:21] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:22] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:23] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:24] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:24] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:24] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:24] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:24] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    2020-08-21 13:58:25.108864: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll
    2020-08-21 13:58:25.127947: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
    pciBusID: 0000:01:00.0 name: GeForce GTX 1050 Ti computeCapability: 6.1
    coreClock: 1.468GHz coreCount: 6 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 104.43GiB/s
    2020-08-21 13:58:25.138361: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror:
    cudart64_101.dll not found
    2020-08-21 13:58:25.149024: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cublas64_10.dll'; dlerror: cublas64_10.dll not found
    2020-08-21 13:58:25.155740: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
    2020-08-21 13:58:25.166949: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found
    2020-08-21 13:58:25.174262: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found
    2020-08-21 13:58:25.187231: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cusparse64_10.dll'; dlerror: cusparse64_10.dll not found
    2020-08-21 13:58:25.206429: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
    2020-08-21 13:58:25.215562: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1753] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
    Skipping registering GPU devices...
    2020-08-21 13:58:25.235019: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2
    To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
    2020-08-21 13:58:25.265476: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1ecec988080 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
    2020-08-21 13:58:25.271724: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
    2020-08-21 13:58:25.284244: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
    2020-08-21 13:58:25.288561: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:25] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "GET /video_feed HTTP/1.1" 500 -
    Error on request:
    Traceback (most recent call last):
    File "D:\Python\Python38\Lib\site-packages\werkzeug\serving.py", line 323, in run_wsgi
    execute(self.server.app)
    File "D:\Python\Python38\Lib\site-packages\werkzeug\serving.py", line 314, in execute
    for data in application_iter:
    File "D:\Python\Python38\Lib\site-packages\werkzeug\wsgi.py", line 506, in next
    return self._next()
    File "D:\Python\Python38\Lib\site-packages\werkzeug\wrappers\base_response.py", line 45, in _iter_encoded
    for item in iterable:
    File "D:\Python - Projects\TouchFree-v2\app.py", line 253, in gen
    frame = camera.get_frame()
    File "D:\Python - Projects\TouchFree-v2\app.py", line 136, in get_frame
    font_3 = ImageFont.truetype("Arial Unicode.ttf", 100)
    File "D:\Python\Python38\Lib\site-packages\PIL\ImageFont.py", line 655, in truetype
    return freetype(font)
    File "D:\Python\Python38\Lib\site-packages\PIL\ImageFont.py", line 652, in freetype
    return FreeTypeFont(font, size, index, encoding, layout_engine)
    File "D:\Python\Python38\Lib\site-packages\PIL\ImageFont.py", line 193, in init
    self.font = core.getfont(
    OSError: cannot open resource
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:26] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:27] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    [ WARN:1] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-k8sx3e60\opencv\modules\videoio\src\cap_msmf.cpp (435) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:28] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:29] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:30] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:31] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:32] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:33] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [21/Aug/2020 13:58:34] "POST /_dash-update-component HTTP/1.1" 200 -

can u also share your email ID maybe I can zoom you the error?

from touchfree-v2.

saksham2001 avatar saksham2001 commented on September 15, 2024

You can email me at sakshambhutani2001[at]gmail[dot]com

from touchfree-v2.

rishinikhil avatar rishinikhil commented on September 15, 2024

I am also facing the same issue. Any resolutions ?

from touchfree-v2.

rishinikhil avatar rishinikhil commented on September 15, 2024

I enabled the debug for flask & got the below messages

python app.py
Dash is running on http://127.0.0.1:8050/

  • Serving Flask app "app" (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: on
    Traceback (most recent call last):
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/flask/app.py", line 2464, in call
    return self.wsgi_app(environ, start_response)
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app
    response = self.handle_exception(e)
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception
    reraise(exc_type, exc_value, tb)
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/flask/app.py", line 1945, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/flask/app.py", line 1993, in try_trigger_before_first_request_functions
    func()
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/dash/dash.py", line 1076, in _setup_server
    _validate.validate_layout(self.layout, self._layout_value())
    File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/dash/_validate.py", line 339, in validate_layout
    """
    dash.exceptions.NoLayoutException: The layout was None at the time that run_server was called.
    Make sure to set the layout attribute of your application
    before running the server.

from touchfree-v2.

saksham2001 avatar saksham2001 commented on September 15, 2024

@rishinikhil The Error mentioned by you seems to be different than the last guy. It seems like an error with the GUI. I will try to look into it and update it soon. Also were you successful in installing tensorflow?

from touchfree-v2.

rishinikhil avatar rishinikhil commented on September 15, 2024

I have been successful in installing tensorflow, open cv and other libraries.

I have also been successful in running the https://www.pyimagesearch.com/2020/05/04/covid-19-face-mask-detector-with-opencv-keras-tensorflow-and-deep-learning/

from touchfree-v2.

rishinikhil avatar rishinikhil commented on September 15, 2024

Hello any update?

Looks like its a dash issue.

dash.exceptions.NoLayoutException: The layout was None at the time that run_server was called. Make sure to set the layout attribute of your application before running the server.

from touchfree-v2.

akeilox avatar akeilox commented on September 15, 2024

I have the exact same issue, cant see video feed and console err "Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)" . Webcam light is on after 5 sec of script start but no feed coming through.

Trying it on the desktop, win10 with libraries installed as requirements.
I have the models folders with two files as per Github here.

Output exactly like the first post Sshot.

Any progress on the status to get this to work ?

from touchfree-v2.

akeilox avatar akeilox commented on September 15, 2024

pip freeze output:
absl-py==0.10.0
alabaster==0.7.12
anaconda-client==1.7.2
anaconda-project==0.8.3
argh==0.26.2
asgiref==3.2.7
asn1crypto @ file:///D:/bld/asn1crypto_1588618152556/work
astroid @ file:///D:/bld/astroid_1588698402201/work
astropy==4.0.1.post1
astunparse==1.6.3
atomicwrites @ file:///home/conda/feedstock_root/build_artifacts/atomicwrites_1588182545583/work
attrs==19.3.0
Automat==20.2.0
autopep8==1.5.2
Babel==2.8.0
backcall==0.1.0
backports.shutil-get-terminal-size==1.0.0
bcrypt==3.1.7
beautifulsoup4 @ file:///D:/bld/beautifulsoup4_1589761031242/work
bitarray @ file:///D:/bld/bitarray_1589849375290/work
bkcharts==0.2
bleach @ file:///home/conda/feedstock_root/build_artifacts/bleach_1588608214987/work
bokeh==2.0.1
boto==2.49.0
Bottleneck==1.3.2
Brotli==1.0.9
brotlipy==0.7.0
cachetools==4.1.1
certifi==2020.4.5.1
cffi==1.14.0
chardet==3.0.4
click==7.1.2
cloudpickle @ file:///home/conda/feedstock_root/build_artifacts/cloudpickle_1588164361239/work
clyent==1.2.2
cmake==3.17.2
colorama==0.4.3
comtypes==1.1.7
constantly==15.1.0
contextlib2==0.6.0.post1
contextvars==2.4
cryptography==2.9.2
cycler==0.10.0
Cython @ file:///D:/bld/cython_1590010035723/work
cytoolz==0.10.1
dash==1.16.0
dash-core-components==1.12.0
dash-daq==0.5.0
dash-html-components==1.1.1
dash-renderer==1.8.0
dash-table==4.10.1
dask @ file:///home/conda/feedstock_root/build_artifacts/dask-core_1590689716976/work
decorator==4.4.2
defusedxml==0.6.0
diff-match-patch==20181111
distributed @ file:///D:/bld/distributed_1590551480801/work
Django==3.0.7
dlib==19.8.1
docutils==0.16
emoji==0.6.0
entrypoints==0.3
et-xmlfile==1.0.1
face-recognition==1.3.0
face-recognition-models==0.3.0
fastcache==1.1.0
filelock @ file:///home/conda/feedstock_root/build_artifacts/filelock_1589994591731/work
flake8==3.7.9
Flask==1.1.2
Flask-Compress==1.5.0
fsspec @ file:///home/conda/feedstock_root/build_artifacts/fsspec_1589989738418/work
future==0.18.2
gast==0.3.3
gevent @ file:///D:/bld/gevent_1588347581549/work
glob2==0.7
google-auth==1.21.1
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
greenlet==0.4.15
grpcio==1.32.0
h5py==2.10.0
HeapDict==1.0.1
html5lib==1.0.1
hyperlink==19.0.0
hypothesis @ file:///home/conda/feedstock_root/build_artifacts/hypothesis_1590585478888/work
idna==2.9
imagecodecs-lite==2019.12.3
imageio==2.8.0
imagesize==1.2.0
immutables @ file:///D:/bld/immutables_1589809355216/work
importlib-metadata==1.6.0
imutils==0.5.3
incremental==17.5.0
intervaltree==3.0.2
ipykernel @ file:///D:/bld/ipykernel_1590020325579/work/dist/ipykernel-5.3.0-py3-none-any.whl
ipython @ file:///D:/bld/ipython_1590797142771/work
ipython-genutils==0.2.0
ipywidgets==7.5.1
isort==4.3.21
itsdangerous==1.1.0
jdcal==1.4.1
jedi==0.15.2
Jinja2==2.11.2
joblib @ file:///home/conda/feedstock_root/build_artifacts/joblib_1589812474002/work
json5==0.9.0
jsonschema==3.2.0
jupyter-client==6.1.3
jupyter-console==6.1.0
jupyter-core==4.6.3
jupyterlab==2.1.3
jupyterlab-server @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_server_1590229434073/work
Keras-Preprocessing==1.1.2
keyring @ file:///D:/bld/keyring_1588434060740/work
kiwisolver==1.2.0
lazy-object-proxy==1.4.3
libarchive-c==2.9
llvmlite==0.32.0
locket==0.2.0
lxml @ file:///D:/bld/lxml_1589927644588/work
Markdown==3.2.2
MarkupSafe==1.1.1
matplotlib==3.2.1
mccabe==0.6.1
menuinst==1.4.16
mistune==0.8.4
mkl-fft==1.1.0
mkl-random==1.1.0
mkl-service==2.3.0
mock @ file:///D:/bld/mock_1588618975508/work
more-itertools @ file:///home/conda/feedstock_root/build_artifacts/more-itertools_1589614090069/work
mpmath==1.1.0
msgpack==1.0.0
multipledispatch==0.6.0
nbconvert==5.6.1
nbformat==5.0.6
networkx==2.4
nltk==3.4.4
nose==1.3.7
notebook @ file:///D:/bld/notebook_1588887343387/work
numba @ file:///D:/bld/numba_1590133871477/work
numexpr==2.7.1
numpy==1.18.1
numpydoc @ file:///home/conda/feedstock_root/build_artifacts/numpydoc_1590519183599/work
oauthlib==3.1.0
olefile==0.46
opencv-contrib-python==4.1.0.25
opencv-python==4.4.0.42
openpyxl==3.0.3
opt-einsum==3.3.0
packaging @ file:///home/conda/feedstock_root/build_artifacts/packaging_1589925210001/work
pandas @ file:///D:/bld/pandas_1590752956403/work
pandocfilters==1.4.2
paramiko==2.7.1
parso==0.5.2
partd==1.1.0
path @ file:///D:/bld/path_1590330951769/work
path.py==12.0.2
pathlib2==2.3.5
pathtools==0.1.2
patsy==0.5.1
pep8==1.7.1
pexpect==4.8.0
pickleshare==0.7.5
Pillow==7.1.2
pkginfo==1.5.0.1
plotly==4.10.0
pluggy @ file:///D:/bld/pluggy_1588616678842/work
ply==3.11
prometheus-client @ file:///home/conda/feedstock_root/build_artifacts/prometheus_client_1590412252446/work
prompt-toolkit==3.0.5
protobuf==3.13.0
psutil==5.7.0
py==1.8.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.5.0
pycosat==0.6.3
pycparser==2.20
pycrypto==2.6.1
pycurl==7.43.0.5
pydocstyle==5.0.2
pyflakes==2.1.1
Pygments==2.6.1
PyHamcrest==2.0.2
pylint @ file:///D:/bld/pylint_1588950565778/work
PyNaCl==1.3.0
pyodbc==4.0.30
pyOpenSSL==19.1.0
pyparsing==2.4.7
PyQt5==5.12.3
PyQt5-sip==4.19.18
PyQtChart==5.12
PyQtWebEngine==5.12.1
pyreadline==2.1
pyrsistent==0.16.0
PySocks==1.7.1
pytest==5.4.2
pytest-arraydiff==0.3
pytest-astropy==0.7.0
pytest-astropy-header==0.1.2
pytest-doctestplus @ file:///home/conda/feedstock_root/build_artifacts/pytest-doctestplus_1588699114696/work
pytest-openfiles==0.4.0
pytest-remotedata==0.3.1
python-dateutil==2.8.1
python-jsonrpc-server @ file:///home/conda/feedstock_root/build_artifacts/python-jsonrpc-server_1588783985962/work
python-language-server==0.31.10
pytz==2020.1
PyWavelets==1.1.1
pywin32==227
pywin32-ctypes==0.2.0
pywinpty==0.5.7
PyYAML==5.3.1
pyzmq==19.0.1
QDarkStyle==2.8.1
QtAwesome @ file:///home/conda/feedstock_root/build_artifacts/qtawesome_1588715536397/work
qtconsole @ file:///home/conda/feedstock_root/build_artifacts/qtconsole_1589392299544/work
QtPy==1.9.0
requests==2.23.0
requests-oauthlib==1.3.0
retrying==1.3.3
rope @ file:///home/conda/feedstock_root/build_artifacts/rope_1588950285934/work
rsa==4.6
Rtree==0.9.4
ruamel-yaml==0.15.80
scikit-image==0.17.2
scikit-learn @ file:///D:/bld/scikit-learn_1589921016289/work
scipy==1.3.1
seaborn==0.10.1
Send2Trash==1.5.0
simplegeneric==0.8.1
singledispatch==3.4.0.3
sip==4.19.22
six @ file:///home/conda/feedstock_root/build_artifacts/six_1590081179328/work
smbus2==0.3.0
snowballstemmer==2.0.0
sortedcollections==1.1.2
sortedcontainers==2.1.0
soupsieve @ file:///D:/bld/soupsieve_1589778616374/work
Sphinx @ file:///home/conda/feedstock_root/build_artifacts/sphinx_1590509607409/work
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
sphinxcontrib-websupport @ file:///home/conda/feedstock_root/build_artifacts/sphinxcontrib-websupport_1588158706257/work
spyder @ file:///D:/bld/spyder_1588993939012/work
spyder-kernels @ file:///D:/bld/spyder-kernels_1588785911944/work
SQLAlchemy @ file:///D:/bld/sqlalchemy_1589421254055/work
sqlparse==0.3.1
statsmodels==0.11.1
sympy @ file:///D:/bld/sympy_1590335710713/work
tables==3.6.1
tblib==1.6.0
tensorboard==2.2.2
tensorboard-plugin-wit==1.7.0
tensorflow==2.2.0
tensorflow-estimator==2.2.0
termcolor==1.1.0
terminado==0.8.3
testpath==0.4.4
threadpoolctl @ file:///tmp/tmp79xdzxkt/threadpoolctl-2.1.0-py3-none-any.whl
tifffile @ file:///home/conda/feedstock_root/build_artifacts/tifffile_1589323165428/work
toml @ file:///home/conda/feedstock_root/build_artifacts/toml_1589469402899/work
toolz==0.10.0
tornado==6.0.4
tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1588513834538/work
traitlets==4.3.3
Twisted==20.3.0
typed-ast==1.4.1
typing-extensions @ file:///home/conda/feedstock_root/build_artifacts/typing_extensions_1588470653596/work
ujson==1.35
unicodecsv==0.14.1
urllib3==1.25.9
watchdog==0.10.2
wcwidth==0.1.9
webencodings==0.5.1
Werkzeug==1.0.1
widgetsnbextension==3.5.1
win-inet-pton==1.1.0
win-unicode-console==0.5
wincertstore==0.2
wrapt==1.11.2
xlrd==1.2.0
XlsxWriter @ file:///home/conda/feedstock_root/build_artifacts/xlsxwriter_1590799523302/work
xlwings==0.19.4
xlwt==1.3.0
yapf==0.29.0
zict==2.0.0
zipp==3.1.0
zope.interface==5.1.0

from touchfree-v2.

akeilox avatar akeilox commented on September 15, 2024

It detects CUDA and enables it too;
127.0.0.1 - - [16/Sep/2020 20:45:00] "�[37mPOST /_dash-update-component HTTP/1.1�[0m" 200 -
2020-09-16 20:45:00.692805: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-09-16 20:45:00.965897: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce 940MX computeCapability: 5.0
coreClock: 0.993GHz coreCount: 3 deviceMemorySize: 1.00GiB deviceMemoryBandwidth: 37.33GiB/s
2020-09-16 20:45:00.992053: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-09-16 20:45:01.161892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-09-16 20:45:01.293476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-09-16 20:45:01.367433: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-09-16 20:45:01.531323: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-09-16 20:45:01.629636: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-09-16 20:45:01.921722: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-09-16 20:45:02.090869: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-09-16 20:45:02.101613: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-09-16 20:45:02.149132: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x28a19473590 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-09-16 20:45:02.161946: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
2020-09-16 20:45:02.171965: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce 940MX computeCapability: 5.0
coreClock: 0.993GHz coreCount: 3 deviceMemorySize: 1.00GiB deviceMemoryBandwidth: 37.33GiB/s
2020-09-16 20:45:02.198229: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-09-16 20:45:02.206558: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-09-16 20:45:02.220443: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-09-16 20:45:02.231218: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-09-16 20:45:02.238688: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-09-16 20:45:02.252170: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-09-16 20:45:02.261114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-09-16 20:45:02.269555: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-09-16 20:45:08.816463: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-09-16 20:45:08.827495: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0
2020-09-16 20:45:08.836123: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N
2020-09-16 20:45:08.857973: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 506 MB memory) -> physical GPU (device: 0, name: GeForce 940MX, pci bus id: 0000:01:00.0, compute capability: 5.0)
2020-09-16 20:45:08.908214: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x28a3bc46f30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-09-16 20:45:08.919367: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): GeForce 940MX, Compute Capability 5.0
127.0.0.1 - - [16/Sep/2020 20:45:09] "�[37mPOST /_dash-update-component HTTP/1.1�[0m" 200 -
127.0.0.1 - - [16/Sep/2020 20:45:09] "�[37mPOST /_dash-update-component HTTP/1.1�[0m" 200 -

then after a while when dashboard launched, I see this:
127.0.0.1 - - [16/Sep/2020 20:45:27] "�[37mPOST /_dash-update-component HTTP/1.1�[0m" 200 -
127.0.0.1 - - [16/Sep/2020 20:45:27] "�[35m�[1mGET /video_feed HTTP/1.1�[0m" 500 -
Error on request:
Traceback (most recent call last):
File "C:\Users\acm\Anaconda3\envs\face_recognition\lib\site-packages\werkzeug\serving.py", line 323, in run_wsgi
execute(self.server.app)
File "C:\Users\acm\Anaconda3\envs\face_recognition\lib\site-packages\werkzeug\serving.py", line 314, in execute
for data in application_iter:
File "C:\Users\acm\Anaconda3\envs\face_recognition\lib\site-packages\werkzeug\wsgi.py", line 506, in next
return self._next()
File "C:\Users\acm\Anaconda3\envs\face_recognition\lib\site-packages\werkzeug\wrappers\base_response.py", line 45, in _iter_encoded
for item in iterable:
File "C:\Dev2020\TouchFree-v2\app.py", line 251, in gen
frame = camera.get_frame()
File "C:\Dev2020\TouchFree-v2\app.py", line 136, in get_frame
font_3 = ImageFont.truetype("Arial Unicode.ttf", 100)
File "C:\Users\acm\Anaconda3\envs\face_recognition\lib\site-packages\PIL\ImageFont.py", line 648, in truetype
return freetype(font)
File "C:\Users\acm\Anaconda3\envs\face_recognition\lib\site-packages\PIL\ImageFont.py", line 645, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "C:\Users\acm\Anaconda3\envs\face_recognition\lib\site-packages\PIL\ImageFont.py", line 194, in init
font, size, index, encoding, layout_engine=layout_engine
OSError: cannot open resource
127.0.0.1 - - [16/Sep/2020 20:45:27] "�[37mPOST /_dash-update-component HTTP/1.1�[0m" 200 -
127.0.0.1 - - [16/Sep/2020 20:45:27] "�[37mPOST /_dash-update-component HTTP/1.1�[0m" 200 -

(then repeats like this indefinitely, webcam light always on)

from touchfree-v2.

rahularepaka avatar rahularepaka commented on September 15, 2024

there is something wrong with the model......I tried using some other model.
It works

from touchfree-v2.

akeilox avatar akeilox commented on September 15, 2024

@rahularepaka can you share which model did you use and how did you get it working ?

from touchfree-v2.

prsveloso avatar prsveloso commented on September 15, 2024

I have the same problem. I'm running it on a Pi 4. I don't get any image like in the 1st post by @jeneel.
@rahularepaka, can you please share the model?
@saksham2001 Can you help here?
Thanks in advance.

from touchfree-v2.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.