Git Product home page Git Product logo

asl-translator's People

Contributors

mjk188 avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asl-translator's Issues

ASL.py

on running after Q is being loaded this error comes:
self.model.train(samples, responses,params=svm_params) # inbuilt training function

TypeError: only size-1 arrays can be converted to Python scalars

error locateROI

Hello,

I have an error when I run ASL. I work on a Raspberry Pi 4B whit Raspberry Pi OS.
I get the flowing error:

Traceback (most recent call last):
File "/home/pi/Documents/ASL/ASL.py", line 6, in
model=st.trainSVM(17)
File "/home/pi/Documents/ASL/svm_train.py", line 80, in trainSVM
samples=preprocess_hog(imgs) # images sent for pre processeing using hog which returns features for the images
File "/home/pi/Documents/ASL/svm_train.py", line 31, in preprocess_hog
gx = cv2.Sobel(img, cv2.CV_32F, 1, 0)
cv2.error: OpenCV(4.1.0) /home/pi/opencv-python/opencv/modules/core/src/matrix.cpp:757: error: (-215:Assertion failed) dims <= 2 && step[0] > 0 in function 'locateROI'

error_1

The file referenced by the error message is the following:

error_2

Who can help me? How should this error be resolved?

Indentation error

File "ASL.py", line 39
temp+=1
^
TabError: inconsistent use of tabs and spaces in indentation

TypeError

Traceback (most recent call last):
File "ASL.py", line 6, in
model=st.trainSVM(17)
File "C:\Users\Wall-E\Desktop\n\svm_train.py", line 85, in trainSVM
model.train(samples, labels) # features trained against the labels using svm
File "C:\Users\Wall-E\Desktop\n\svm_train.py", line 23, in train
self.model.train(samples, responses,params=svm_params) # inbuilt training function
TypeError: only size-1 arrays can be converted to Python scalars

Using False

when i use this code, it can not detection my hand .Can you tell me the reason?

cv2.cv2

Traceback (most recent call last):
File "C:/Users/Abdulsemed Mohammed/Downloads/Compressed/ASL-Translator-master/ASL-Translator-master/ASL.py", line 3, in
import util as ut
File "C:\Users\Abdulsemed Mohammed\Downloads\Compressed\ASL-Translator-master\ASL-Translator-master\util.py", line 3, in
import svm_train as st
File "C:\Users\Abdulsemed Mohammed\Downloads\Compressed\ASL-Translator-master\ASL-Translator-master\svm_train.py", line 6, in
svm_params = dict(kernel_type=cv2.SVM_RBF,
AttributeError: module 'cv2.cv2' has no attribute 'SVM_RBF'

Training set truncated

The train set data has been truncated. So can you share a drive link to the training set data?

unichar is undeclared

print('Class '+unichr(i)+' is being loaded ')
NameError: name 'unichr' is not defined

this error while running asl.py in python 3.1

Class Q is being loaded
Class Q is being loaded
Class Q is being loaded
Class Q is being loaded
Class Q is being loaded
SVM is building wait some time ...
6800
6800
Traceback (most recent call last):
File "ASL.py", line 6, in
model=st.trainSVM(17)
File "C:\Users\Rakshit\Desktop\ASL-Translator-master\ASL-Translator-master\svm_train.py", line 82, in trainSVM
model = SVM(C=2.67, gamma=5.383)
File "C:\Users\Rakshit\Desktop\ASL-Translator-master\ASL-Translator-master\svm_train.py", line 14, in init
self.model = cv2.SVM()
AttributeError: module 'cv2.cv2' has no attribute 'SVM'

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.