Compile OpenCV in Linux and Generate opencv_java.so File

Compile OpenCV in Linux and Generate opencv_java.so File

1. Introduction In a Java project using OpenCV, in addition to needing to introduce the relevant POM dependencies, you also need to load the library files: * On Windows, it is opencv_java451.dll * On Linux, it is opencv_java451.so This article mainly introduces how to compile OpenCV to obtain the relevant library files; 2. Environment Description … Read more

CLion Tutorial – Boost.Test

CLion Tutorial - Boost.Test

Boost unit testing framework (Boost.Test) is part of the Boost library. It is a fully-featured and extensible framework with various assertion macros, XML output, and more. Boost.Test itself does not include mocking capabilities but can be used in conjunction with standalone mocking frameworks (like gmock). If you are not familiar with Boost.Test, here is a … Read more

CLion Tutorial – Remote GDB Server Configuration

CLion Tutorial - Remote GDB Server Configuration

Local Operating System: macOS / Linux / Windows Remote Operating System: Any system that supports gdbserver, SSH, and SFTP Required Tools: gdbserver on the target machine Binary File Synchronization: Automatic Client Debugger: Bundled GDB / GDB from Toolchain / Custom GDB Build Targets: CMake / Makefile / Custom Build Targets Configuring the Remote GDB server … Read more

Detailed Compilation Tutorial for Windows 10 Carla Source Code

Detailed Compilation Tutorial for Windows 10 Carla Source Code

Author | Automotive Enthusiast Editor | Heart of Autonomous Driving 1. Preparation Work 1.1 Hardware Environment Requirements 1) Windows 64-bit operating system. The simulator should run on any 64-bit Windows system. 2) 165GB of disk space. CARLA itself will occupy about 32GB, and related major software installations (including Unreal Engine) will take about 133GB. 3) … Read more

CLion Tutorial: Code Coverage

CLion Tutorial: Code Coverage

Operating System: Linux / macOS / Windows Project Format: CMake Management Suite: Run | Manage Coverage Reports Ctrl+Alt+F6 Coverage Settings: Settings Ctrl+Alt+S | Build, Execution, Deployment | Coverage In CLion, you can run CMake applications and tests with code coverage measurement. The code coverage results provide the percentage of code lines executed during runtime and … Read more

Using CMake for Android NDK Development

Using CMake for Android NDK Development

Today’s Tech News Yesterday, Toshiba Corporation announced the development of a new generation of lithium batteries specifically for electric vehicles, which can be quickly charged in just 6 minutes. Traditional electric vehicle lithium batteries take 30 minutes to charge to about 80%, while the new generation lithium battery can charge to 90% in just 6 … Read more

PCL Point Cloud Library Tutorial (Part 2): IDE Selection and CMake Usage

PCL Point Cloud Library Tutorial (Part 2): IDE Selection and CMake Usage

Introduction Last Issue Review: [PCL Point Cloud Library Tutorial (Part 1)] Installation and Prerequisites You can switch the target files we need to compile. Click the “hammer” icon to compile, and click the “triangle” icon to compile and run. Computer Environment Ubuntu 20.04 PCL-1.10 VS Code Reasons for Recommendation Lightweight, many plugins, stronger customization. Many … Read more

C++ Library and Header File Writing Tutorial

Click on the above“Beginner’s Guide to Vision”, select to add aBookmark or “Top” Essential Content, Delivered First Scan the QR code below to join the cutting-edge academic paper exchange group!Get the latest top conference/journal paper idea interpretations and PDFs along with materials from beginner to advanced on CV and the most cutting-edge applications! This article … Read more

A Small Tip on CMake and QT Development Environment

A Small Tip on CMake and QT Development Environment

OpenCV Version: 4.2.0 OpenCV-Contrib Version: 4.2.0 CMake Version: 3.20.0 When developing image algorithms with OpenCV, being able to display the pixel where the mouse falls on the image can greatly improve development efficiency. I searched this issue and found that most bloggers use callback functions to solve it, which not only adds extra complexity but … Read more

CLion Tutorial – CMakeLists.txt in CLion

CLion Tutorial - CMakeLists.txt in CLion

CMakeLists.txt file contains a set of instructions and descriptions that define the source files and targets (executable files, libraries, or both) of a project. When you create a new project, CLion automatically generates a CMakeLists.txt file and places it in the project root directory. To open the project, you can point CLion to the top-level … Read more