🛠️ 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
ROS Scratchpad

🛠️ Scratchpad - ROS1

A scratchpad for common pitfalls, commands, and shortcuts when using ROS1. Questions/Answers Set an argument based on the exclusive OR of two other arguments This is a really ugly hack, but it gets the job done. Since we don’t care much about the name, we set it so that if the user provides both of them at the same time, they get a descriptive message back. <!-- arg1 XOR arg2 --> <arg if="$(eval (arg1 !...

October 13, 2019 · 5 min · bergercookie