pip3 install glob3
pip install opencv-python
pip install numpy
pip install matplotlib
pip install pillow
pip install matplotlib
pip install scikit-image
git clone https://github.com/1adrianb/face-alignment
pip install -r requirements.txt
python setup.py install
pip install sklearn
On Conda Prompt
conda install -c anaconda mkl
conda install -c pytorch pytorch torchvision
RGB (Red, Green, Blue) are 8 bit each. The range for each individual colour is 0-255 (as 2^8 = 256 possibilities). The combination range is 256256256.
By dividing by 255, the 0-255 range can be described with a 0.0-1.0 range where 0.0 means 0 (0x00) and 1.0 means 255 (0xFF).
Convert to grey scale
Resize pictures
perform standard scaler
Label pictures
Experiment No. | Preprocessing | Feature Extraction | Dimention Reduction | Classifier | Evaluation Metric |
---|---|---|---|---|---|
1 | Convert To Grey, Haar | HOG | PCA | SVM | |
2 | Convert To Grey | HOG | LDA | SVM | |
3 | Convert To Grey | LBP | PCA/LDA | SVM | |
4 | - | - | - | CNN |