OpenCV
-
OpenCV Integration With Live 360 Video for Robotics
As artificial intelligence gets more advanced, robots are increasingly used to free humans from the risks of inspecting dangerous locations or the drudgery of routine visual surveillance. To provide some degree of autonomous decision, the robot often has cameras connected to an onboard Linux computer such as an NVIDIA Jetson or x86 single-board computer (SBC). If the application benefits from live 360-degree video, there are two approaches. The first, more difficult approach is to use multiple cameras and stitch the…
-
Fix AttributeError: \’NoneType\’ Object Has No Attribute \’Shape\’
NumPy is a popular tool for computing numbers involving matrices, arrays, and math functions. The shape attribute of a NumPy array returns a tuple showing the array’s dimensions. And when it comes to reshaping and manipulating NumPy arrays, the attribute is crucial. Below is how the shape attribute function: Python import numpy as np arr = np.array([[5, 1], [16, 33]]) print(arr.shape) Output: Python (2, 2) The shape attribute is also important in pandas or OpenCV. Here is how…
-
Computer Vision Tutorial 2: Image Basics
This tutorial is the foundation of computer vision delivered as “Lesson 2” of the series; there are more lessons upcoming that will talk to the extent of building your own deep learning-based computer vision projects. You can find the complete syllabus and table of contents here. The main takeaways from this article: Loading an Image from Disk. Obtaining the ‘Height,’ ‘Width,’ and ‘Depth’ of the Image. Finding R, G, and B components of the Image. Drawing using OpenCV. Loading an…
-
Facial Recognition and Identification in Computer Vision
Rapid development in machine learning and AI technologies have made significant progress in computer vision for object detection and recognition. Yet creating a system that can recognize humor and amusement in people is still a challenging problem for programmers, since comedy and entertainment are subjective and based on personal tastes and cultural context. Thus, it is tricky creating a system that can precisely determine what individuals find amusing or enjoyable. However, computer vision in facial recognition and identification has made…