Author: datahacker.rs

#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

#001 How to read a video and access a webcam with OpenCV in Python?

Highlight: In the previous post we talked how we can manipulate pixels and images in Python using the OpenCV library. Now, it’s time to focus our attention to videos. In this post, you will learn some basic operations which are necessary for building your computer vision applications. First, we will explain how you can load camera frames and video files. Second, you will see how you can read, display and save videos using OpenCV. Third,…
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

# TF Implementing a VGG-19 network in TensorFlow 2.0

Highlights: In this post we will show how to implement a fundamental Convolutional Neural Network like \(VGG-19\) in TensorFlow. The VGG-19 architecture was design by Visual Geometry Group, Department of Engineering Science, University of Oxford. It competed in the ImageNet Large Scale Visual Recognition Challenge in 2014. Tutorial Overview: Theory recapitulation Implementation in TensorFlow 1. Theory recapitulation With ConvNets becoming more of a popular in the computer vision field, a number of attempts have been made to improve the…
Read more

#007 Linear Algebra – Change of basis

Highlight: So far, we have already talked that it is possible to represent the vector using different basis vectors. In this post we will learn how to go from our standard coordinate system \(\left ( x,y \right ) \) into some other bases. Next, we will also learn why this change of basis can be very useful. For now, we will just say that it’s frequently applied in many signal processing and machine learning methods.…
Read more