rknn3399pro
g_grace1
不会低头的向日葵
展开
-
不经过文件,将内存中的图像通过libcurl post服务器
**1、需求:**因项目需要将嵌入式端处理后的图像,发送到同一局域网下的服务器上,但嵌入式上内存有限,开启两个线程频繁的将结果图像写入磁盘会导致设备缓存急剧增长,运行时间久了后会崩溃,因此需要不经过文件,直接将内存里的图像数据传输给同一局域网下的服务器。**2、解决方案:**通过linux内存文件系统Ramfs,将图像存入内存文件中,再通过libcurl post图像到服务器。void url_img(Mat Img,int line,int id,char* url_name,char* save_n原创 2021-08-23 09:30:00 · 179 阅读 · 0 评论 -
W: GPG error: ...the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
在debian10上执行命令:sudo apt-get update 更新清华源时,报错如下: Cannot initiate the connection to mirrors.tuna.tsinghua.edu.cn:443 (2402:f000:1:408:8100::1). - connect (101: Network is unreachable) [IP: 101.6.8.193 443]Ign:14 https://mirrors.tuna.tsinghua.edu.cn/debi原创 2021-06-15 10:13:01 · 1712 阅读 · 1 评论 -
在chroot中挂载/dev/,使用系统设备节点
由于开发板上的内存空间较小,因此在开发板上内置了一块250G的硬盘,通过chroot的方式进行开发,在chroot的/dev下显示NULL,想要使用系统设备节点需要提前挂载,再进入chroot。1、挂载命令mount -t proc proc /rootfs/procmount -t sysfs sys /rootfs/sysmount -o bind /dev /rootfs/devchroot rootfs #进入chroot目录2、查看设备节点ls /dev/ v4l2-ctl --原创 2021-05-19 11:46:57 · 2565 阅读 · 0 评论 -
RK3399pro开发板debian10下安装curl
1)下载源码(可以在这个网站上找最新的版本 http://curl.haxx.se/download/)wget https://curl.haxx.se/download/curl-7.55.1.tar.gz2)源码解压tar -xzvf curl-7.55.1.tar.gz3)编译安装1 cd curl-7.55.12 ./configure3 make4 sudo make install4)检查更新成功参考:https://www.cnblogs.com/suidouya/p原创 2021-05-18 15:16:36 · 402 阅读 · 0 评论 -
fatal error: Python.h: No such file or directory/ fatal error: numpy/ndarrayobject.h: No such file o
在移植opencv编译包到rk3399pro开发板上进行make install时,遇到问题及解决方法如下:问题1:/home/syl/software/opencv/modules/python/src2/cv2.cpp:17:10: fatal error: Python.h: No such file or directory #include <Python.h>解决方法:sudo apt-get install python-devsudo apt-get install原创 2021-05-18 11:26:57 · 778 阅读 · 1 评论 -
rk3399pro移植安装opencv源码编译包问题记录
之前在3399pro开发板上编译了opencv4.5.1的源码,将编译后的文件导出,在新的开发板上进行移植安装,本文记录了移植安装过程中出现的问题及解决方法。1、环境配置在移植安装之前配置新板子的开发环境,参考博客https://blog.csdn.net/sinat_37322535/article/details/1138761462、移植安装进入到opencv的build 目录下进行安装cd ./buildmake install正常情况下会安装成功,但我这边报了2个错;错误一:N原创 2021-04-25 11:52:20 · 820 阅读 · 0 评论 -
通过添加firefly的源对rk3399pro EVB板进行NPU-drv进行更新
手里的rk3399pro板子是EVB板,技术支持给出只能通过重新安装系统才能更新npu-driver的方案,由于板子上已经安装很多软件,不想重装系统啊啊啊,这个问题放置一周后,偶然得知可以通过添加firefly的源对rk3399pro EVB板进行NPU-drv进行更新,测试了一下,果然可以,感谢RKNN交流群里的大佬,下面记录一下更新步骤:1、sudo apt-key add trusted.gpg2、增加firefly的源http://wiki.t-firefly.com/firefly-rk339原创 2021-03-09 17:14:37 · 1645 阅读 · 5 评论 -
删除/更新pip版本,pip安装超时问题
在嵌入式开发板使用pip3命令时出现:WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please seehttps://github.com/pypa/pip/issues/5599 for advice on fixing theunderlying issue. To avoid this problem you can invoke Python原创 2021-02-23 09:44:47 · 355 阅读 · 0 评论 -
rk3399pro-EVB安装RKNN-Toolkit1.6 Tensorflow2.0 Pytorch1.6
本文主要介绍在debian10系统的开发板上进行RKNN-Toolkit环境配置1、更改系统默认的python版本EVB版的debian10系统自带python2.7(默认),python3.7,通过以下命令将py37设置为默认版本:rm /usr/bin/pythonln -s /usr/bin/python3.7 /usr/bin/python可通过python -V查看是否设置成功。2、更新系统包,用于安装 Python 依赖包sudo apt-get updatesudo apt-原创 2021-02-23 14:54:38 · 1307 阅读 · 44 评论