Day1 notes of high tech small training (C + +)

preface IDE tools VSCode Syntax detection: include header file + compile built-in syntax Add header file detection: Ctrl + Shift + P - > C + + configuration editing, add the directory where the header file is located; Control terminal command environment variable PATH: echo %PATH% set i ...

Posted on Thu, 25 Jun 2020 04:00:29 -0400 by jaimitoc30

Add jni -------- static registration to the latest as project in 2020

Step 1: import static code block into so Library static { System.loadLibrary("native-lib"); } Step 2: write external functions public native String getString(); //native stands for c\c + + implementation Step 3: generate function header with javah Enter the src/main/java directory of the pr ...

Posted on Mon, 15 Jun 2020 00:41:14 -0400 by TropicalBeach

Build barcode scanner with raspberry pie 4, OLED, USB camera

Recently, at 618 discounts, I bought Raspberry Pie 4 to use as a computer for my baby.After that, I played it by myself and made a simple scanner. Raspberry Pie 4 related hardware procurement 4GB version of Raspberry Pie 4.Officially priced at $65, Jingdong 300 is reduced from 40 to 389. Micro HDMI to HDMI cable.Raspberry Pie 4 replaced the po ...

Posted on Wed, 10 Jun 2020 20:57:03 -0400 by evdawg80

NDK used in AS

1 use of NDK 1.1 compile. so with Android.mk step 1: create AS project MyDNK, create a new JNIS class and write the native method helloJNI(), AS shown in the figure: step 2: enter the java folder and use the command "javah com.lzp.myndk.JNIS" to generate the header file: step 3: write the test.c file to ...

Posted on Sat, 02 May 2020 22:10:08 -0400 by c_coder

Compiling mysql 5.7 source code with centos7

First, you need to execute according to the compiled documents of mysql. mysql document What do you need? cmake Official website Compilation and installation script of cmake wget https://github.com/Kitware/CMake/releases/download/v3.16.5/cmake-3.16.5.tar.gz tar zxvf cmake-3.16.5.tar.gz cd cmake-3.16.5 ./bootstrap --prefix=/usr/local ...

Posted on Thu, 19 Mar 2020 10:13:06 -0400 by Angerslave

Ubuntu 18.4 running on GPU with dnn

In order to use the dnn module of OpenCV for model reasoning of deep learning, we need to install opencv ﹣ contrib. This paper records how to install opencv and opencv ﹣ contrib on Ubuntu 18.4, generate opencv that can be called by python and C + +, and run it on GPU. Environmental Science ubuntu18 ...

Posted on Thu, 12 Mar 2020 04:50:33 -0400 by timolein

Training, testing and encapsulation of YOLOv3 under Linux+OpenCV3.4.0

In winter vacation, because the project needs to use yolov3, I found a lot of linux configuration tutorials on the Internet. Many bloggers have talked about it in detail in their blogs. I will focus on the encapsulation of yolov3 under linux. Because it is impossible to provide source code for others to ...

Posted on Sat, 07 Mar 2020 04:31:38 -0500 by FangerZero

Compiling and using nanomsg under ARM and Linux

brief introduction Homepage: https://nanomsg.org/index.html nanomsg is a socket library, which provides several common communication modes. It aims to make the network layer fast, scalable and easy to use. It is implemented in C language and can run on multiple operating systems without further depend ...

Posted on Fri, 06 Mar 2020 02:17:37 -0500 by acke1976

SimGrid simulator installation and application - high performance computing simulator

Catalog 1. About simgrid 2.SimGrid installation 2.1 Binaries for Linux 2.2 Installing from the Source 3.SimGrid code running 3.1 code download 3.2 write C + + code and run it Reference 1. About simgrid SimGrid is a widely used simulator, whose homepage is [1] https://simgrid.org/doc/latest ...

Posted on Tue, 11 Feb 2020 12:52:53 -0500 by dhillarun

linux Installation Configuration: opencv3.4.6 + opencv3.4.6

Website: https://docs.opencv.org/master/d7/d9f/tutorial_linux_install.html [official website, look at this if you have any questions] Reference: https://blog.csdn.net/qq_37027117/article/details/89163596 This brother has helped me a lot, but I have some problems when I carry out some detailed steps, so ...

Posted on Wed, 05 Feb 2020 07:50:54 -0500 by evmace