luvk1412 / sign-language-to-text Goto Github PK
View Code? Open in Web Editor NEWA python based app which can convert the shown sign language using hand to text in real time
A python based app which can convert the shown sign language using hand to text in real time
HunspellFilePathError: File 'c:/usr/share/hunspell/en_US.dic.aff' not found or accessible
tina@tina:-/tinas /bin/python3 /home/tina/tina/Sign-Language-to-Text-master/collect-data.py
[WARN:0] global /tmp/pip-req-build-afu9cjzs/opencv/modules/videoio/src/cap_v4l.cpp (890) open VIDEOIO (V4L2: /dev/video0): can't open camera by index
Traceback (most recent call last):
File "/home/tina/tina/Sign-Language-to-Text-master/collect-data.py", line 112, in
x1= int(0.5 frame.shape [1])
AttributeError: 'NoneType object has no attribute 'shape'
File "app.py", line 17
self.hs = hunspell.HunSpell('/usr/share/hunspell/en_US.dic', '/usr/share/hunspell/en_US.aff')
^
IndentationError: unindent does not match any outer indentation level
Hi i tried to pip install hunspell but it gave me error message:
ERROR: Failed building wheel for hunspell
Running setup.py clean for hunspell
Failed to build hunspell
Installing collected packages: hunspell
Running setup.py install for hunspell ... error
What is the solution to install hunspell ?
hi, im student in korea and i was trying to use this code, so i download this project, and i run in this course collecte.py - preprocessing.py- image,processingpy - train.py - app.py and, i got problem in app.py.
i installed hunspell using pip install hunspell, and my computer could not find them, so now, i cant run app.py. i tried to solve this problem by using cyhunspell instead of hunspell but this also failed.i dont know weather this is my own pc problem or my software problem,,,, i could not find the right solution for this problem, so can i ask you to give me answer to this problem? .... sorry for my bad english.. (additionally im very poor at coding(i just started)so, it would be so thankful if you teach me in detail thankyou)
and this is my error message
PS C:\Users\User\Desktop\병아리> & C:/Users/User/Anaconda3/python.exe "c:/Users/User/Downloads/Sign-Language-to-Text-master (2)/Sign-Language-to-Text-master/app.py"
Using TensorFlow backend.
2021-07-21 00:02:25.362964: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2021-07-21 00:02:25.363723: 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.
Traceback (most recent call last):
File "c:/Users/User/Downloads/Sign-Language-to-Text-master (2)/Sign-Language-to-Text-master/app.py", line 11, in
import cyhunspell
ModuleNotFoundError: No module named 'cyhunspell'
(sltt) D:\Sign-Language-to-Text-master\Sign-Language-to-Text-master>python preprocessing.py
0
0
0
I've searched a lot to install hunspell in windows, unfortunately there is no way to figure it out till date. Any solution to this problem is welcome. app.py will work fine in Linux.
Following error comes while installing in windows.
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Brajesh\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Brajesh\AppData\Local\Temp\pip-install-sdbjmfv2\hunspell\setup.py'"'"'; file='"'"'C:\Users\Brajesh\AppData\Local\Temp\pip-install-sdbjmfv2\hunspell\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Brajesh\AppData\Local\Temp\pip-record-0zizia0l\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Brajesh\anaconda3\Include\hunspell'
cwd: C:\Users\Brajesh\AppData\Local\Temp\pip-install-sdbjmfv2\hunspell
Complete output (5 lines):
running install
running build
running build_ext
building 'hunspell' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Brajesh\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Brajesh\AppData\Local\Temp\pip-install-sdbjmfv2\hunspell\setup.py'"'"'; file='"'"'C:\Users\Brajesh\AppData\Local\Temp\pip-install-sdbjmfv2\hunspell\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Brajesh\AppData\Local\Temp\pip-record-0zizia0l\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Brajesh\anaconda3\Include\hunspell' Check the logs for full command output.
C:/Users/THOMAS/AppData/Local/Programs/Python/Python39/python.exe "e:/voice for deaf and dumb/Sign-Language-to-Text-master/app.py"
2021-08-22 12:01:05.783212: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2021-08-22 12:01:05.783661: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPUText-master/app.py" set up on your machine. 110.dll'; dlerror: cudart64_110.dll not found
Starting Application... set up on your machine.
Traceback (most recent call last):
pba = Application()
File "e:\voice for deaf and dumb\Sign-Language-to-Text-master\app.py", line 17, in init
AttributeError: module 'hunspell' has no attribute 'HunSpell'
Only Character is showing no word and sentence part
How to resolve this issue? This has been used in 'preprocessing.py'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.