Cracking the OpenCV Applications Course - Project 1

This is a writeup of my first assignment for the “Computer Vision II: Applications” course. For this assignment, I’m given an image of a girl, and I have to add 2 new features to it: Apply lipstick Applying blush Here’s the original image that we’ll be working on: Initialisation actions We first load and initialise all the necessary modules and objects that we’ll need 1 2 3 4 5 6 7 8 # various imports import cv2, sys, dlib, time, math import numpy as np import matplotlib....

October 3, 2020 · 8 min · bergercookie

🛠️ Scratchpad - CV Applications II Course by OpenCV

Computer Vision Applications using OpenCV Facial Landmark Detection Improve the speed of Facial Landmark Detection: Use face detection that comes with OS - if possible (e.g., Android, iOS) Skip frames - e.g,. run every 3 frames Downscale image, detect faces there … then propagate bboxes to original image (dividing the coordinates by the scale used for resizing the original frame.). Then just do landmark detection on original image and computed bounding box Improve landmark stabilisation Weighted Moving Average - Average the landmark point location over a small time window Kalman Filtering Optical Flow Code snippets OpenCV - Rescale an image - keep ratio import cv2 # Load image img = cv2....

October 14, 2019 · 2 min · bergercookie

🛠️ Scratchpad - Machine Learning

Definition: The science/art of programming computers so that they can learn from data Popular ML Algorithms Linear & Polynomial Regression Logistic Regression k-nearest Neighbors Support Vector machines Decision Trees Random Forests Ensemble methods Neural Networks Architectures Feedforward Neural Nets Convolutional Nets Recurrent Nets Long short-term memory (LSTM) nets Autoencoders Multi-Layer Perceptons (MLPs) Famous Papers Machine Learning on handwritten digits - 2006 - <www.cs.toronto.edu/~hinton> The Unreasonable Effectiveness of Data - 2009 Useful links - resources www....

October 14, 2019 · 3 min · bergercookie