Skip to content

parthokr/asl-recognition

Repository files navigation

Final notes for evaluation

Please switch to submission branch for the final submission.

How to get environment set up on apple silicon?

Have a look here

Or you can optionally install Miniforge3
More hands on elaboration can be found here
My recommendation is to use miniconda3

More on installing conda, creating conda environment, tensorflow and other libs

  1. conda create --prefix ./env --name sign-language-detection
  2. conda activate ./env

Time to install tensorflow on M1

  1. conda install -c apple tensorflow-deps
  2. pip install tensorflow-metal
  3. pip install tensorflow-macos

Now it's time for opencv

  1. Installing naively opencv for m1 will fail terribly. But there is a workaround. Building from the source. Follow this

mediapipe

  1. Use protobuf==3.20.1
    pip install protobuf==3.20.1

Other regular packages can be installed through requirements.txt using pip's recursive flag

pip install -r requirements.txt

Possible issues I encountered while dealing with this project

  1. RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd #4281

Potential solution

Upgrade numpy via pip install numpy --upgrade

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published