Mastering Python Raspberry Pi Development: A Comprehensive Guide

Mastering Python Raspberry Pi Development: A Comprehensive Guide

Author:Mingri TechnologyPublisher:Tsinghua University PressPublication Date: October 2021 Editor’s Recommendation “Mastering Python Raspberry Pi Development” focuses on beginners while also providing advanced knowledge necessary for becoming a programming expert. (1) Mainstream technology, comprehensive analysis. This book is rich in content, covering all aspects of Python Raspberry Pi development, including Raspberry Pi basics, using Python on Raspberry … Read more

Add a Christmas Hat with Python and OpenCV (Includes Code)

Add a Christmas Hat with Python and OpenCV (Includes Code)

Authorized reprint from the public account CVPy (ID: x-cvpy) With the arrival of Christmas, many people are tagging the official WeChat account to add a Christmas hat to their profile pictures. Of course, this can be done with many photo editing software. However, as someone learning image processing, I believe it is necessary to write … Read more

NVIDIA Jetson Nano 2GB Series Article (29): DeepStream Object Tracking Functionality

NVIDIA Jetson Nano 2GB Series Article (29): DeepStream Object Tracking Functionality

In the application of computer vision, “recognition” is just a relatively basic technology. Many people often question during the execution of deep learning inference applications, “What is the use of the recognized categories?” Confirming how many types we want to recognize in each frame of the image and their positions in the image is just … Read more

Different Linking Methods for CMake Libraries

Different Linking Methods for CMake Libraries

1. Different Libraries Have Different Linking Methods OpenCV uses ${OpenCV_LIBS} target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS}) protobuf uses ${PROTOBUF_LIBRARIES} target_link_libraries(${PROJECT_NAME} ${PROTOBUF_LIBRARIES}) jpeg-turbo uses the target name libjpeg-turbo::turbojpeg-static target_link_libraries(${PROJECT_NAME} libjpeg-turbo::turbojpeg-static) 2. How to Determine Which Method to Use Generally, the following methods can be used: Check the CMake file for usage instructions. (Well-written CMake files usually include usage instructions) Look … Read more

How to Write CMakeLists.txt? (Part 1: Basics)

How to Write CMakeLists.txt? (Part 1: Basics)

Click on the “3D Vision Workshop” above and select “Star” Get valuable content delivered promptly The 62nd Article of 3D Vision Workshop This article summarizes the method of writing CMakeLists.txt files on the linux platform. 1 General Modules at the Beginning 1.1 CMake Version Requirement cmake_minimum_required( VERSION 2.8 ) # Project filename loop_closure, can be … Read more

Compiling OpenCV 4.8.1 with CMake and Visual Studio 2022 on Windows

Compiling OpenCV 4.8.1 with CMake and Visual Studio 2022 on Windows

1. Background The project I am currently maintaining runs on Windows and uses OpenCV version 4.5.2. My local development environment is a Mac, and I am using the newer OpenCV version 4.8.1. To maintain consistency with my local development environment, I plan to upgrade the OpenCV used in the project, as the project still utilizes … Read more

30 Common Python Functions with Code Implementations

30 Common Python Functions with Code Implementations

Click on the above “Beginner Visual Learning”, choose to add “Star” or “Top” Important content delivered promptly 1. Bubble Sort 2. Method to calculate x to the power of n 3. Calculate a*a + b*b + c*c + … 4. Calculate factorial n! 5. List all files and directories in the current directory 6. Convert … Read more

Connecting CSI Camera to Raspberry Pi with OpenCV

Connecting CSI Camera to Raspberry Pi with OpenCV

Click the above“Mechanical and Electronic Engineering Technology” to follow us My requirements: Raspberry Pi 3B+, operating system Raspbian-stretch, with both Python 2.7.13 and Python 3.5.3 versions. The CSI (Camera Serial Interface) camera is a common camera interface used in embedded systems or mobile devices. It is typically used for direct connection to processors or image … Read more

Organizing Photos with Python: A Year in Review

Organizing Photos with Python: A Year in Review

Ah, it’s that time of year again for a big cleanup! Opening my phone’s photo album, oh my, did I really take this many photos in a year? Looking at my nearly full storage space, I suddenly had a brilliant idea: why not let Python help me organize these precious memories? Photo Classification Challenge We … Read more