COSC345CoolGroupASLtoSpeech
BridgingASLandspokenlanguagewithAI:Translategesturestospeechforinclusivecommunication.
|
A class representing sign language detection using webcam and trained model. More...
Public Member Functions | |
def | __init__ (self) |
Initialize the PythonTest class. More... | |
def | sign_identifier (self) |
Perform sign language identification on a frame. More... | |
Public Attributes | |
img_path | |
Declear the current frame of the webcam. More... | |
model_dict | |
Load the trained sign-lange detection model. More... | |
model | |
Declare variable model. More... | |
cap | |
Declare opencv. More... | |
mp_hands | |
Declare variable mp_hands from Mediapipe module. More... | |
mp_drawing | |
Declare variable mp_drawing from Mediapipe module. More... | |
mp_drawing_styles | |
Declare variable mp_drawing_styles from Mediapipe module. More... | |
hands | |
Declare variable hands. More... | |
fourcc | |
Setting opencv. More... | |
out | |
Setting opencv. More... | |
A class representing sign language detection using webcam and trained model.
This class provides functionalities for webcam-based sign language detection using the MediaPipe library for hand tracking and a trained model for sign language recognition.
def inference_classifier.PythonTest.__init__ | ( | self | ) |
Initialize the PythonTest class.
This constructor initializes the necessary components for sign language detection.
def inference_classifier.PythonTest.sign_identifier | ( | self | ) |
Perform sign language identification on a frame.
This method performs sign language identification on a given frame using hand landmarks and a trained model.
inference_classifier.PythonTest.cap |
Declare opencv.
inference_classifier.PythonTest.fourcc |
Setting opencv.
inference_classifier.PythonTest.hands |
Declare variable hands.
inference_classifier.PythonTest.img_path |
Declear the current frame of the webcam.
inference_classifier.PythonTest.model |
Declare variable model.
inference_classifier.PythonTest.model_dict |
Load the trained sign-lange detection model.
inference_classifier.PythonTest.mp_drawing |
Declare variable mp_drawing from Mediapipe module.
inference_classifier.PythonTest.mp_drawing_styles |
Declare variable mp_drawing_styles from Mediapipe module.
inference_classifier.PythonTest.mp_hands |
Declare variable mp_hands from Mediapipe module.
inference_classifier.PythonTest.out |
Setting opencv.