Skip to content

elyor04/emotion-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emotion-detector

  • Works on Linux, Windows and MacOS

How does the program look like?

Emotions

Install for CPU

Install the libraries

pip install --upgrade tensorflow opencv-python matplotlib scipy

Install for GPU

  • First install Tensorflow with GPU support here

  • Since you have installed Tensorflow, it's time to install OpenCV with GPU support

On Linux

Install NVIDIA GPU driver and reboot, if you still don't have it

  • WARNING: if you don't have NVIDIA GPU, please skip this part
  • NOTE: you can choose driver version yourself, by default I gave 525
  • search for the driver versions by running apt-cache search --names-only "^nvidia-driver-[0-9]{3}$"
sudo apt -y install nvidia-driver-525
sudo reboot
  • check the installation by running nvidia-smi

Install Intel GPU driver, just in case

  • WARNING: if you don't have Intel GPU, please skip this part
sudo apt -y install intel-opencl-icd

Install OpenCL libraries

sudo apt -y install opencl-headers ocl-icd-libopencl1 ocl-icd-opencl-dev clinfo
  • check GPU drivers list by running clinfo -l (at least you should have one)

Install OpenCV and extra-libraries

pip install --upgrade opencv-python matplotlib scipy

On the other platforms

Install OpenCV and extra-libraries

pip install --upgrade opencv-python matplotlib scipy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published