Installing OpenCV 4 in Mac Os

Installing OpenCV 4 in Mac Os Install Anaconda Create a new environment Open the new environment in the terminal Run: conda install -c conda-forge/label/main opencv conda install notebook Jupyter notebook In the notebook import cv2 Check the version with cv2.__version__ You should see something like 4.1.1 Problems when showing an image or video If when…

Computer vision algorithms

ORB Algorithm: Oriented Fast and Rotated Brief, creates feature vectors from detected keypoints and is invariant to rotations, changes in illumination, and noise. HOG Algorithm: Histogram of Oriented Gradients works by creating histograms of the distribution of gradient orientations in an image and then normalizing them in a very special way. This special normalization is…

Localization

Robot localization in essence is based in two main steps: Sense and Move It will start with a initial belief (or prior) of maximum confusion where the probability distribution will be uniform (flat, which means it has the same value everywhere) Then it will start cycling through sensor measurements (Sense) and movements (Move) When the robot moves…

Motion in Computer Vision

Motion in Computer Vision Motion can be tracked with a 2D motion vector. A vector has a direction and magnitude which will determine the direction and amount of movement between one frame and the next one. First we will have to defive special points to track like for example intersections or corners once we localize…

Image Captioning Project

  In this project I will train a network with the COCO Dataset (Common Objects in Context). This dataset contains images and a set of 5 different captions per image. I will train a CNN-RNN model by feeding it with the image and captions so the network will learn to generate captions given an image. Once trained…