OpenCV

OpenCV (Open Source Computer Vision Library: http://opencv.org) is an open-source library that includes several hundreds of computer vision algorithms. The document describes the so-called OpenCV 2.x API, which is essentially a C++ API, as opposed to the C-based OpenCV 1.x API.

OpenCV has a modular structure, which means that the package includes several shared or static libraries. The following modules are available:

MediaPipe

MediaPipe is a customizable machine learning solutions framework developed by Google. It is an open-source and cross-platform framework, and it is very lightweight. MediaPipe comes with some pre-trained ML solutions such as face detection, pose estimation, hand recognition, object detection, etc.

Screenshot from 2021-10-08 14-22-27.png

Configuration Options

max_num_hands: Maximum number of hands to detect.

min_detection_confidence: Minimum confidence value ([0.0, 1.0]) from the hand detection model for the detection to be considered successful.

min_tracking_confidence: Minimum confidence value ([0.0, 1.0]) from the landmark-tracking model for the hand landmarks to be considered tracked successfully, or otherwise hand detection will be invoked automatically on the next input image.

static_image_mode: If set to false, the solution treats the input images as a video stream. If set to true, hand detection runs on every input image, ideal for processing a batch of static, possibly unrelated, images.