Git Product home page Git Product logo

gesturesensor's People

Contributors

mmcc-xx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gesturesensor's Issues

Authentication support

Mosquitto in Home Assistant doesn't allow anonymous logins any more. Any plans to update for authentication?

Container is up and running but app is crashing

I've managed to build the image and run the container.
Everything without errors apart a msg from TensorFlow

2024-02-13 17:58:25.752759: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/site-packages/cv2/../../lib64:
2024-02-13 17:58:25.753679: 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.
2024-02-13 17:58:25.984935: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-02-13 17:58:29.449113: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/site-packages/cv2/../../lib64:
2024-02-13 17:58:29.449489: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/site-packages/cv2/../../lib64:
2024-02-13 17:58:29.449530: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.

The problem appears when you go in front of the camera. Then the app is crashing with the following exception

INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2024-02-13 17:58:32,771 - INFO - Connected to MQTT broker
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2024-02-13 18:01:01,967 - DEBUG - Starting new HTTP connection (1): 192.168.70.240:3000
2024-02-13 18:01:01,989 - DEBUG - http://192.168.70.240:3000 "GET /api/recognize?url=http://192.168.70.40:5000/api/frontdoor_camera2/latest.jpg&attempts=1&camera=frontdoor_camera2 HTTP/1.1" 403 136
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 971, in json return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs)
File "/code/gesturedetection.py", line 79, in lookforhands matches = getmatches(cameraname)
File "/code/gesturedetection.py", line 39, in getmatches output = response.json()
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 975, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I would appreciate very much some help to solve it and make it work.

Pull access denied for gesturesensor, repository does not exist

I was trying to build the gesturesensor with docker compose.
Getting the following error:

`Error response from daemon: pull access denied for gesturesensor, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

It seems that the container has been removed. Would you please upload again so I can use it for a small project within HA ??
`

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.