摘要: 1. 拿到rv1126开发版后,首先连接电源、串口和网线,通过串口登录到系统 Windows串口使用Putty工具,在设备管理器里面找到对应的串口号设置波特率为1500000 , 8, 1, 0, 0设置完成后打开串口终端 Linux串口使用minicom工具,在/dev/ttyUSB里面找到对应的 阅读全文
posted @ 2023-04-05 16:05 盛夏夜 阅读(329) 评论(0) 推荐(0) 编辑
摘要: import cv2, struct import numpy as np import matplotlib.pyplot as plt class TempMatrix(): def __init__(self): pass def read_temp_matrix_img(self, file 阅读全文
posted @ 2023-03-01 13:39 盛夏夜 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1.OpenCV对NV12进行通道分离后缩放再保存为NV12格式 #include <stdio.h> #include <opencv2/opencv.hpp> /** * @brief * 把输入的NV12图像分离为YUV三个分量图像 * @param image_yuv 输入YUV图像 * @ 阅读全文
posted @ 2023-02-17 11:18 盛夏夜 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1.opencv代码jpg转换yuv420sp(nv12) #include <stdio.h> #include <opencv2/opencv.hpp> int main(int argc, char **argv) { // 检查输入参数 if(argc != 2){ std::cout << 阅读全文
posted @ 2023-02-10 10:55 盛夏夜 阅读(765) 评论(0) 推荐(0) 编辑
摘要: 1.参考labelme的github代码进行安装 https://github.com/wkentaro/labelme conda create --name=labelme python=3.9 source activate labelme conda install pyqt conda i 阅读全文
posted @ 2022-11-29 09:22 盛夏夜 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1. 运行一个ubuntu 18.04的docker容器 docker run -itd --name hi3516 -v host_path:/root/work --privileged=true --shm-size 4G ubuntu:18.04 /bin/bash docker exec 阅读全文
posted @ 2022-11-10 14:37 盛夏夜 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1. 首先安装换服务器上的Ubuntu系统,NVIDIA驱动和Docker环境 本文环境为: 服务器Ubuntu版本为16.04 NVIDIA驱动版本为10.2 Docker版本为20.10.7 参考网址: https://blog.csdn.net/qq_39638989/article/deta 阅读全文
posted @ 2022-11-09 12:15 盛夏夜 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 1. conda换源 conda config --set show_channel_urls yes vim .condarc channels: - defaults show_channel_urls: true default_channels: - http://mirrors.aliyu 阅读全文
posted @ 2022-11-09 12:14 盛夏夜 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1.先卸载可能存在的旧版本,并更新软件包 sudo apt-get remove docker docker-engine docker-ce docker.io sudo apt-get update 2.安装需要的依赖包 sudo apt install apt-transport-https 阅读全文
posted @ 2022-11-03 09:27 盛夏夜 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1. 环境配置 VMware Workstation Pro 16.2.4 Ubuntu 18.04.6 Pytorch 1.10.0 Caffe-cpu 1.0 Python 3.6 Opencv 3.2.0 2. 下载并安装虚拟机 下载地址:https://customerconnect.vmw 阅读全文
posted @ 2022-09-20 15:33 盛夏夜 阅读(2891) 评论(0) 推荐(0) 编辑