Coder Social home page Coder Social logo

emnikhil / sign-language-to-text-conversion Goto Github PK

View Code? Open in Web Editor NEW
167.0 4.0 83.0 604.21 MB

Major Project - Sign Language To Text Conversion Using Python, Computer Vision and Machine Learning

License: MIT License

Python 52.43% Jupyter Notebook 47.57%
machine-learning deep-learning neural-network computer-vision opencv tkinter-gui python sign-language hand-gestures communication

sign-language-to-text-conversion's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

sign-language-to-text-conversion's Issues

Issue after running application.py

2022-04-03 14:20:56.446014: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
2022-04-03 14:20:56.447028: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
2022-04-03 14:20:56.461744: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: LAPTOP-4O8DPRDA
2022-04-03 14:20:56.462785: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: LAPTOP-4O8DPRDA
2022-04-03 14:20:56.473531: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

Bro can u help me this error...

code error

python3 Application.py
2024-02-08 12:18:41.101119: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2024-02-08 12:18:41.130207: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-02-08 12:18:41.130235: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-02-08 12:18:41.131109: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-02-08 12:18:41.135484: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2024-02-08 12:18:41.135640: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-02-08 12:18:41.717909: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Starting Application...
Error initializing HunSpell: <class 'HunSpell'> returned a result with an exception set
2024-02-08 12:18:42.081677: E external/local_xla/xla/stream_executor/cuda/cuda_driver.cc:274] failed call to cuInit: CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE: forward compatibility was attempted on non supported HW
2024-02-08 12:18:42.081721: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:129] retrieving CUDA diagnostic information for host: gaurav-IdeaPad-Gaming-3-15IMH05
2024-02-08 12:18:42.081727: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:136] hostname: gaurav-IdeaPad-Gaming-3-15IMH05
2024-02-08 12:18:42.081782: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:159] libcuda reported version is: 535.86.5
2024-02-08 12:18:42.081816: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:163] kernel reported version is: 535.54.3
2024-02-08 12:18:42.081821: E external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:244] kernel version 535.54.3 does not match DSO version 535.86.5 -- cannot find working devices in this configuration
Loaded model from disk
1/1 [==============================] - 0s 75ms/step
1/1 [==============================] - 0s 99ms/step
1/1 [==============================] - 0s 51ms/step
1/1 [==============================] - 0s 51ms/step
Error: 'hs' attribute not initialized.
Traceback (most recent call last):
File "/home/gaurav/Desktop/Sign-Language-To-Text-Conversion-main/Application.py", line 398, in
(Application()).root.mainloop()
File "/home/gaurav/Desktop/Sign-Language-To-Text-Conversion-main/Application.py", line 126, in init
self.video_loop()
File "/home/gaurav/Desktop/Sign-Language-To-Text-Conversion-main/Application.py", line 185, in video_loop
if(len(predicts) > 1):
UnboundLocalError: local variable 'predicts' referenced before assignment

tensorflow

Hi, I am running "application.py" and here is the error I am getting (I have already pip installed keras and all the other libraries)

shreyansjain@Shreyanss-MBP Shreyans's Coding % /usr/local/bin/python3 "/Users/shreyansjain/Documents/Shreyans's Coding/eduASL/ASL model/Application.p
y"
Traceback (most recent call last):
File "/Users/shreyansjain/Documents/Shreyans's Coding/eduASL/ASL model/Application.py", line 18, in
from keras.models import model_from_json
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/init.py", line 8, in
from keras import _tf_keras
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/_tf_keras/init.py", line 1, in
from keras._tf_keras import keras
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/_tf_keras/keras/init.py", line 8, in
from keras import activations
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/activations/init.py", line 8, in
from keras.src.activations import deserialize
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/init.py", line 1, in
from keras.src import activations
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/activations/init.py", line 3, in
from keras.src.activations.activations import elu
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/activations/activations.py", line 1, in
from keras.src import backend
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/backend/init.py", line 9, in
from keras.src.backend.common.dtypes import result_type
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/backend/common/init.py", line 2, in
from keras.src.backend.common.dtypes import result_type
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/backend/common/dtypes.py", line 5, in
from keras.src.backend.common.variables import standardize_dtype
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/backend/common/variables.py", line 10, in
from keras.src.utils.module_utils import tensorflow as tf
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/utils/init.py", line 12, in
from keras.src.utils.model_visualization import model_to_dot
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/utils/model_visualization.py", line 8, in
from keras.src.utils import tree
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/keras/src/utils/tree.py", line 12, in
from tensorflow.python.trackable.data_structures import ListWrapper
ModuleNotFoundError: No module named 'tensorflow'

What does this mean? Thanks

Unable to install pip strings

Hi,

I receive the below error on both Linux (Ubuntu 22.04) and Windows 10. Both have the latest versions of Python:

ubuntu@primary:~$ pip install strings
Defaulting to user installation because normal site-packages is not writeable
Collecting strings
Downloading strings-0.1.2.tar.gz (2.2 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-a_nua17z/strings_89a0b83f084d445dbaf23cd584f688b0/setup.py", line 5, in
import strings
ModuleNotFoundError: No module named 'strings'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

help

can you please explain of this project. i want to use your project if you explain me it will help me if you explain me by giving your some time to me .
thank you

GPU Error

OS: Windows 10
Graphic Card: Nvidia Geforece GTX 4Gb

I am getting the output very delaying almost taking 12seconds for a word to display.
I am thinking due to this below error.
And I have installed cuda gpu software but no use I have searched on internet but tried all way to decrease the time of the output.

2022-12-04 12:38:56.546805: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-12-04 12:38:56.547725: 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.
Starting Application...
2022-12-04 12:39:06.069381: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-12-04 12:39:06.070545: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublas64_11.dll'; dlerror: cublas64_11.dll not found
2022-12-04 12:39:06.071569: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublasLt64_11.dll'; dlerror: cublasLt64_11.dll not found
2022-12-04 12:39:06.072602: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
2022-12-04 12:39:06.073620: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found
2022-12-04 12:39:06.074653: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusolver64_11.dll'; dlerror: cusolver64_11.dll not found
2022-12-04 12:39:06.075683: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusparse64_11.dll'; dlerror: cusparse64_11.dll not found
2022-12-04 12:39:06.076900: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
2022-12-04 12:39:06.077322: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] 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...
2022-12-04 12:39:06.086293: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

Issues installing hunspell

What python version did you use? I'm having issues installing hunspell.

Collecting hunspell
Using cached hunspell-0.5.5.tar.gz (34 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: hunspell
Building wheel for hunspell (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running bdist_wheel
running build
running build_ext
building 'hunspell' extension
creating build
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHUNSPELL_STATIC -IV:/hunspell-1.3.3/src/hunspell -IC:\Users\KEVIN\AppData\Local\Programs\Python\Python311\include -IC:\Users\KEVIN\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /EHsc /Tphunspell.cpp /Fobuild\temp.win-amd64-cpython-311\Release\hunspell.obj /MT
cl : Command line warning D9025 : overriding '/MD' with '/MT'
hunspell.cpp
hunspell.cpp(20): fatal error C1083: Cannot open include file: 'hunspell.hxx': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hunspell
Running setup.py clean for hunspell
Failed to build hunspell
ERROR: Could not build wheels for hunspell, which is required to install pyproject.toml-based projects

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.