Category: OpenCV

#004 How to smooth and sharpen an image in OpenCV?

Highlight: In our previous posts we mastered some basic image processing techniques and now we are ready to move on to more advanced concepts. In this post, we are going to explain how to blur and sharpen images. When we want to blur or sharpen our image, we need to apply a linear filter. You will learn several types of filters that we often use in the image processing In addition, we will also show…
Read more

#003 How to resize, translate, flip and rotate an image with OpenCV?

Highlight: In our previous posts we learned how to implement some simple functions that allow us to load, modify and draw some basic shapes on our input images. Now, when we have a solid foundation, it is time to dive deeper to our first image processing techniques. We should keep in mind these techniques because they are fundamental tools for almost all areas of computer vision. Therefore, a basic understanding of image processing is crucial…
Read more

#002 How to draw lines, rectangles, circles and write text on images with OpenCV in Python?

Highlight: Hello and welcome back to our Hacking OpenCV series in Python. In this post we are going to explain how to draw basic and more advanced shapes, as well as how to write text on images. You will learn to draw lines, rectangles, circles, ellipses, polylines and how to write a textual content on the image. This knowledge will be very useful later on when we start to develop our facial recognition algorithms with…
Read more

#000 How to access and edit pixel values in OpenCV with Python?

Highlight: Welcome to another datahacker.rs post series! We are going to talk about digital image processing using OpenCV in Python. In this series, you will be introduced to the basic concepts of OpenCV and you will be able to start writing your first scripts in Python. Our first post will provide you with an introduction to the OpenCV library and some basic concepts that are necessary for building your computer vision applications. You will learn…
Read more

CamCal 011 Fundamental Matrix

Highlights: In this post we will learn about fundamental matrix and we will continue our series about stereo vision. In the last post we concluded that if we have enough points we should be able to figure out the constraints for the epipolar line. So for this, we will need to calculate a fundamental matrix. Tutorial Overview: Weak calibration Uncalibrated Case Matrix Multiplication Properties of the Fundamental Matrix Intro In previous posts we have developed…
Read more