摘要: 先在官网上下载对应的包 sudo apt-get install linux-sourceuname -rsudo apt-get install linux-headers-4.15.0-118-genericsudo chmod a+x ./NVIDIA-Linux-x86_64-450.57. 阅读全文
posted @ 2020-09-28 15:26 闪光123 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1.lspci | grep -i nvidia 2.进入这个网址,下面输入对应的二进制数 http://pci-ids.ucw.cz/mods/PC/10de?action=help?help=pci 阅读全文
posted @ 2020-09-28 11:45 闪光123 阅读(3781) 评论(0) 推荐(0) 编辑
摘要: 1.安装 apt-get install curlapt-get install libcurl4-gnutls-dev 2.如果使用的是CMakeLists.txt,加入 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lcurl") TARGET_LINK_LI 阅读全文
posted @ 2020-09-24 16:38 闪光123 阅读(1009) 评论(0) 推荐(0) 编辑
摘要: 1wixNKVxVy-XlAIv3KAb6Vw 阅读全文
posted @ 2020-09-21 18:10 闪光123 阅读(109) 评论(0) 推荐(0) 编辑
摘要: python3调用oepncv检测人脸,检测结果发送后台服务器,可使用多线程 # -*- coding: utf-8 -*- import cv2 import time import multiprocessing as mp import numpy as np import os import 阅读全文
posted @ 2020-09-21 17:44 闪光123 阅读(216) 评论(0) 推荐(0) 编辑
摘要: c++调用opencv人脸检测,检测出视频流里的人脸通过http发送到后台服务器,代码如下 #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <opencv2/core.hpp> #include <opencv2/highgu 阅读全文
posted @ 2020-09-21 17:37 闪光123 阅读(910) 评论(0) 推荐(0) 编辑
摘要: 1 下载curl库:http://curl.haxx.se/download.html 2 下载后解压,进入E:\curl-7.72.0\projects\Windows\VC15,使用vs 2019打开项目,选择DLL Release编译 3.新建curl测试项目,创建文件夹include和lib 阅读全文
posted @ 2020-09-21 16:05 闪光123 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: yolov3: # -*- coding: utf-8 -* import numpy as np import cv2 as cv import os import time yolo_dir = '/home/ubuntu/model/yolo4-tiny' # YOLO文件路径 weights 阅读全文
posted @ 2020-09-04 17:48 闪光123 阅读(1924) 评论(0) 推荐(0) 编辑
摘要: 解压压缩包后,进入对应文件夹 mkdir build cd build 执行: cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=~/opencv-4.4.0 .. make sudo make install cd ~/ sudo 阅读全文
posted @ 2020-09-04 17:45 闪光123 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 1.下载安装依赖:https://github.com/wizyoung/YOLOv3_TensorFlow2.将yolov3.weights放到~/test/YOLOv3_TensorFlow-master/data/darknet_weights文件夹中,voc_names.txt里写入训练的类 阅读全文
posted @ 2020-08-26 14:35 闪光123 阅读(1432) 评论(0) 推荐(0) 编辑