sudo pip3 install numpy
sudo pip3 install cv2
sudo pip3 install matplotlib
sudo pip3 install keras
For Linux users
sudo apt-get install espeak
For doing speech thing in python
sudo pip3 install pyttsx3
If you don't have the pip3 command use the pip command.
Change the paths of the cascade classifiers and the models to the appropriate paths.