上一页 1 2 3 4 5 6 7 8 9 10 ··· 53 下一页

2022年8月8日

摘要: 前言 调试代码过程中发现cv::Mat step的使用,之前没注意过,故记之。 opencv cv::Mat解释 step Number of bytes each matrix row occupies. The value should include the padding bytes at 阅读全文
posted @ 2022-08-08 18:39 鹅要长大 阅读(559) 评论(0) 推荐(0) 编辑

2022年8月2日

该文被密码保护。 阅读全文
posted @ 2022-08-02 10:55 鹅要长大 阅读(0) 评论(0) 推荐(0) 编辑

2022年7月28日

摘要: code if (mkdir(finalpath.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) == -1) { if( errno == EEXIST ) { // alredy exists } else { // something else 阅读全文
posted @ 2022-07-28 18:12 鹅要长大 阅读(544) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-07-28 18:11 鹅要长大 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-07-28 18:11 鹅要长大 阅读(0) 评论(0) 推荐(0) 编辑

2022年7月27日

该文被密码保护。 阅读全文
posted @ 2022-07-27 15:35 鹅要长大 阅读(0) 评论(0) 推荐(0) 编辑

2022年7月25日

摘要: error ./src/image_opencv.cpp:5:10: fatal error: opencv2/opencv.hpp: No such file or directory 5 | #include "opencv2/opencv.hpp" error ./src/image_open 阅读全文
posted @ 2022-07-25 18:42 鹅要长大 阅读(436) 评论(0) 推荐(0) 编辑
摘要: sudo apt install libopencv-dev dpkg --list sudo apt-get --purge remove libopencv-dev 参考 1. Ubuntu命令卸载软件(经过sudo apt-get install安装的)_水浒传鲁智深的博客-CSDN博客_ub 阅读全文
posted @ 2022-07-25 18:41 鹅要长大 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 基本认识linux默认配置是当打开一个shell终端后,执行的所有命令均不会写入到~/.bash_history文件中,只有当前用户退出后才会写入,这期间发生的所有命令其它终端是感知不到的。 问题场景那么问题来了,假若之前history命令记录为c0,用户先打开了shell终端a,执行了一部分命令c 阅读全文
posted @ 2022-07-25 18:41 鹅要长大 阅读(509) 评论(1) 推荐(0) 编辑
摘要: 前言 环境 ubuntu20.04 NVIDIA:RTX3080TI error ./src/convolutional_layer.c:153:13: error: ‘CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT’ undeclared (first 阅读全文
posted @ 2022-07-25 18:40 鹅要长大 阅读(839) 评论(0) 推荐(0) 编辑
摘要: 前言 VOC中的xml文件 <annotation> <folder>VOC2012</folder> //文件名 <filename>2007_000346.jpg</filename> <source> //文件来源 <database>The VOC2007 Database</databas 阅读全文
posted @ 2022-07-25 18:39 鹅要长大 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 前言 错误 write: No buffer space available write(s, &frame, sizeof(struct can_frame)) 的输出结果为-1; 原因 由于缓冲队列空间不足; sudo su root@super:/sys/class/net/can1# cat 阅读全文
posted @ 2022-07-25 18:39 鹅要长大 阅读(1693) 评论(0) 推荐(0) 编辑
摘要: To disable a shortcut, edit it and press the Backspace instead of the new shortcut. 参考 1. ubuntu terminal shortcut ; 完 阅读全文
posted @ 2022-07-25 18:39 鹅要长大 阅读(45) 评论(0) 推荐(0) 编辑
摘要: \033[2J 清屏 \033[y;xH 设置光标位置 参考 1. C语言基础——printf带颜格式化输出(Linux); 2. C语言\033方式设置字体颜色; 完 阅读全文
posted @ 2022-07-25 18:35 鹅要长大 阅读(67) 评论(0) 推荐(0) 编辑
摘要: can test code tfl_can.c #include "tfl_can.h" // int can_init( int* sock ) { struct sockaddr_can addr; struct ifreq ifr; const char* ifrname = "can1"; 阅读全文
posted @ 2022-07-25 18:35 鹅要长大 阅读(986) 评论(0) 推荐(0) 编辑
摘要: STBI图像数据和darknet中image数据类型之间的转换 前言 STBI图像数据和darknet中image数据类型之间的转换 image2stbi file: src/image.c function: save_image_options for(k = 0; k < im.c; ++k) 阅读全文
posted @ 2022-07-25 18:35 鹅要长大 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 前言 博主遇到一个问题,想要先判断某个目录是否为空,如果为空的话,需要安装camera驱动;如果不为空的话,可以继续运行程序; shell if [ "`ls -A /dev/video*`" = "" ]; then echo "/dev/video* is empty, install came 阅读全文
posted @ 2022-07-25 18:34 鹅要长大 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: 前言 FLOPS,即每秒浮点运算次数, 是每秒所执行的浮点运算次数(Floating-point operations per second;缩写:FLOPS)的简称,被用来评估电脑效能; FLOPs:注意s小写,是floating point operations的缩写(s表复数),意指浮点运算数 阅读全文
posted @ 2022-07-25 18:34 鹅要长大 阅读(2066) 评论(0) 推荐(0) 编辑
摘要: 前言 博主在TX2上运行程序的时候,突然自动关机,且查看top并没有内存泄露的情况,触摸TX2核心板发现温度很高,认为可能是产生了过热保护,遂查看证实。 安装软件并查看 # 安装软件 sudo apt install lm-sensors # 查看温度 sensors # 实时查看温度 watch 阅读全文
posted @ 2022-07-25 18:34 鹅要长大 阅读(2551) 评论(0) 推荐(0) 编辑

2022年7月11日

该文被密码保护。 阅读全文
posted @ 2022-07-11 18:39 鹅要长大 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 53 下一页

导航