SMILEsmileD - smile detector open source project v0.5
SMILEs - contains positive and negative sample sets with associated idx files smileD - XML cascades for OpenCV's cvHaarDetectObjects function appz - ad hoc applications useful for extending of SMILEsample and smileDetector testing
- Open this smile to unlock folder
- Create the virtual environtment "python -m venv ." (.) Means you create a virtual environtment on the opened folder
- then open command prompt outside the vs code and type ".\Scripts\activate"
- Install the requirements file "pip install -r requirements.txt"
- Run "python train_model.py -d SMILEs -m model.h5"
- change mqtt broker address(check your ip with "ipconfig" in cmd)
- Open src folder "cd src" Then Run "python detect_smile.py -c haarcascade_frontalface_default.xml -m model.h5"
- To automatically generate requirements.txt "python -m pipreqs.pipreqs [path/to/project]"
- To freeze library on virtual environtment "pip freeze > requirements.txt"