std::chrono gets the current second/millisecond/microsecond/nanosecond timestamp

How to get the current timestamp First use std::chrono to get the current system time, then convert the current system time to the epoch time std::time_t type, and then use std::localtimeConvert the std::time_t type to the local time structure std::tm type, and finally use strftime to format the time output. The std::tm structure contains a […]

Win10+vs2015 compile nanogui

! ! Copyright statement: This article is an original articleby the blogger. The copyright belongs to the original author and the blog garden. Any form of reprinting is strictly prohibited! ! Author: mohist illustrate: A. OS: win10 1909, no experience in configuring OpenGL development environment. ?B. VS: 2015_up3 Today’s essay is based on yesterday’s source […]

NanoPC-T3 64-bit bare metal programming – startup and running state switching

refer to: https://github.com/metro94/s5p6818_spl https://github.com/trebisky/Fire3/tree/master/Boot_NSIH https://github.com/SamsungARTIK/bl1-artik710 https://github.com/SamsungARTIK/bl1-artik710/blob/artik/nsih-generator/PERIDOT_SYSINFO_Gen_ver03.xls Author: Peng Donglin Email: [email protected] 1. System block diagram It can be seen that the S5P6818 has a total of two clusters, each cluster has 4 Cortex-A53 architecture cores. According to the official manual, each core works at a frequency of no less than 1.4GHz. Each core has its […]

Implementing PWM breathing light on Youjing Technology DE10-Nano

1. What is a breathing lamp The so-called breathing light means that the light can change from dark to bright rhythmically like human breathing. We see this kind of visual effect in many places, such as home decoration lighting, smartphone call reminders, etc. 2. What is PWM The full name of PWM is Pulse Width […]

Jetson nano uses the upper computer to run yolov5 and the stm32 lower computer to send communication instructions.

Code # YOLOv5 by Ultralytics, GPL-3.0 license “”” Run YOLOv5 segmentation inference on images, videos, directories, streams, etc. Usage-sources: $ python segment/predict.py –weights yolov5s-seg.pt –source 0 # webcam img.jpg #image vid.mp4 #video screen # screenshot path/ # directory ‘path/*.jpg’ # glob ‘https://youtu.be/Zgi9g1ksQHc’ # YouTube ‘rtsp://example.com/media.mp4’ # RTSP, RTMP, HTTP stream Usage-formats: $ python segment/predict.py –weights […]

Jetson Nano based on paddledetection smoking behavior detection

# Introduction to a project In the production process of enterprises, companies and factories, smoking often occurs in public areas and even work areas. For enterprises that need to ban burning and smoking for safe production, smoking will cause safety hazards in production, causing smoke alarms, fires and other major safety hazards. ACCIDENT. However, the […]

[NanoHTTPD] Android, use NanoHTTPD to build a server and accept HTTP requests, best practices

Android, NanoHTTPD builds a server and accepts best practices for HTTP requests 1. Understand The Android app, as a server, accepts HTTP and get post requests to push data. NanoHTTPD is a free, lightweight (only one Java file) HTTP server that can be well embedded in Java programs. Supports GET, POST, PUT, HEAD and DELETE […]

Jetson nano uses GPIO pins—Routine 1 (setting simple digital levels)

Table of contents GPIO port introduction UART,PWM,I2S,I2C How to install the GPIO library Control LED light flashing with code GPIO GPIO (General Purpose Input Output) general purpose input and output. Sometimes we will call it “IO port” for short. Universal, that is to say, it is a universal balm and can be used for anything. […]

Optimization and deployment of parallel image filtering algorithm based on Jetson Nano

Optimization of parallel image filtering algorithm based on Jetson Nano We implemented convolution algorithms based on GPU (CUDA) and CPU (PThread). On this basis, we further implemented Sobel, Laplacian, mean and Gaussian filters, which can be used for image processing. A typical application scenario It’s image noise reduction. Therefore, our experiments mainly focus on the […]

1. Flash the Jetson Orin Nano Developer Kit system

This tutorial has 3 methods to flash your phone, you can choose the solution that suits you according to your needs. 1: Use >32G SD card to install the development kit; 2: Install the system online through the SDK Manager software under Ubuntu18.04. Three: Install the system through scripting under Ubuntu18.04. Note: The Ubuntu account […]