Commit History

app with exception handling for face landmark
2165cdc

JefferyJapheth commited on

moved cap = cv2.VideoCapture(0) to the top
02030b1

JefferyJapheth commited on

fixing return prediction outside function
2ae007c

JefferyJapheth commited on

new make_prediction and predict_with_webcam
5faf21e

JefferyJapheth commited on

removed multiple : cap = cv2.VideoCapture(0)
13cc7b5

JefferyJapheth commited on

auto indent, reformat code.
21ed3a6

JefferyJapheth commited on

deleted multiple and left one "with mp_holistic.Holistic(min_detection_confidence=0.5, min_tracking_confidence=0.5) as holistic:"
3535ae8

JefferyJapheth commited on

put face 1st in the order of landmark extraction
dd22aa4

JefferyJapheth commited on

redefined predict_with_webcam . With this modification, the input tensor passed to the PreprocessLayer should have the correct shape, and the error should be resolved.
31a741d

JefferyJapheth commited on

added N_ROWS = 543 N_DIMS = 3 DIM_NAMES = ['x', 'y', 'z'] SEED = 42 NUM_CLASSES = 250
7d38abd

JefferyJapheth commited on

re-modified code with mediapipe and webcam initialized
e156e53

JefferyJapheth commited on

adding type numpy to image input
5115c05

JefferyJapheth commited on

printing processed landmarks
5481cc1

JefferyJapheth commited on

redefined predict_with_webcam function to return "Could not detect landmarks. Make sure your webcam is working properly."
bc3cf69

JefferyJapheth commited on

redefined how the webcam is launched
5ebde55

JefferyJapheth commited on

modified predict_with_webcam to continuously predict output.
824a609

JefferyJapheth commited on

initialized webcam twice fixing it
1794118

JefferyJapheth commited on

continuously capturing frames with the webcam
9b2cde2

JefferyJapheth commited on

changed webcam size and added some exception handling to check for None values and return a meaningful message in this case
9e34ea5

JefferyJapheth commited on

added inverse of dictionary
5eb4620

JefferyJapheth commited on

added dictionary class and modified prediction class to output the class
760b3da

JefferyJapheth commited on

adding scikit-image for interpretation
471c06d

JefferyJapheth commited on

remove share because share is not supported in spaces
e4b0716

JefferyJapheth commited on

complete outline for prediction and inference
4ca0f67

JefferyJapheth commited on