Install OpenCV 4.5.5 from Source in Xubuntu 20.04

For some reasons, I have to install OpenCV from source in my Xubuntu 20.04. To me, the tricky part was the options for CMake. Here I share my settings and the reason why I need them. Install required packages Source: How to Install OpenCV on Ubuntu 20.04 sudo apt install build-essential cmake git pkg-config libgtk-3-dev \ libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \ libxvidcore-dev libx264-dev libjpeg-dev libpng-dev libtiff-dev \ gfortran openexr libatlas-base-dev python3-dev python3-numpy \ libtbb2 libtbb-dev libdc1394-22-dev libopenexr-dev \ libgstreamer-plugins-base1. [Read More]

Find Identical Images in a Directory using Python and OpenCV

Code: identical_image_checker I was labelling images to fine-tune the object detection model. Of course occasionally you might find funny samples in these images, but overall it’s still a tedious work that will make you dizzy and feel less and less confident of what you’re doing. There were 1,526 images in my labelling folder. I have labelled them in these months on and off. Sometimes I would stared at the image and had a feeling that “Wait, I’ve labelled this one before… Haven’t I? [Read More]