当前位置:网站首页>Rk1126 platform project summary
Rk1126 platform project summary
2022-07-02 17:41:00 【QMCY_ jason】
The general flow of the project is Read data from the camera and pass ai analysis Output ai The analysis result is encoded as 2 road venc The flow of then Make one rtsp The server For subsequent modules Handle
But from the perspective of demand, it's actually very simple
But in fact, when doing it, you will still encounter some pits
After the program is up, a http service Wait for various instructions issued by the master
These instructions include the setting of video parameters ai Whether the function is turned on or off rtsp Opening and closing of services
Upload and download model files ,jpeg Image upload do ai analysis wait
Based on the previous 3531 Development experience ,
Than 3531 One more place Namely 3531 It does not involve uploading files
1126 One that needs to support file uploading is ai Upload model files The other is jpeg Upload pictures .
Then the program listens http event Do the corresponding treatment
Mainly to do ai Handling and not doing ai The process is different
Do not do ai The assistant's words are direct vi rga venc come out
If you do ai To deal with it is vi rknn Because it needs two flows So you need to yuv Scale the data , And if you don't do ai What to do Call directly rga No need to scale manually yuv data It has been realized What is called is actually rga Provided api imresize And so on. , The main thing is to understand the relevant data interfaces and api That's all right.
because ai analysis Another engineer did it I need to call his module I'll give him yuv data Do it naturally AI After analysis give AI Analyze the results and in yuv Frame the data .
Then what is needed is OSD function , Put it before the mays platform OSD Take it directly and It is found that nothing is normal At present, there is no time to study this piece carefully Here's the picture RK Platform support only ARGB8888 One pixel 4 Bytes
The original Hisilicon can be set to ARGB565 Many formats of what One pixel can only occupy 2 Bytes The principle is through FreeType load ttf Font then change the font to bitmap Structure Then render to venc Above the passage After taking the same code It can be found that there are two main problems
1, only one osd But it shows two lines
2. The font color is set to white, but I don't know why some areas turn red
At present, it is just a framework Many detailed functions have not been completed When it's done Update here
边栏推荐
- 嵌入式开发板 ~ 说明
- Uniapp H5 page calls wechat payment
- 例题 非线性整数规划
- USB interface powered Bluetooth color light strip controller
- Platform management background and business menu resource management: business permissions and menu resource management design
- helm kubernetes包管理工具
- Easyswoole3.2 restart failed
- LeetCode:1380. Lucky number in matrix -- simple
- Jiuxian's IPO was terminated: Sequoia and Dongfang Fuhai were shareholders who had planned to raise 1billion yuan
- The difference between class and getClass ()
猜你喜欢
si446使用记录(二):使用WDS3生成头文件
Platform management background and merchant menu resource management: merchant role management design
[web technology] 1233 seconds understand web component
智能水电表能耗监测云平台
Modbus协议通信异常
LeetCode:1380. Lucky number in matrix -- simple
si446使用记录(一):基本资料获取
Smart trash can (V) - light up OLED
【GAMES101】作业4 Bézier 曲线
Timing / counter of 32 and 51 single chip microcomputer
随机推荐
Goodbye, shucang. Alibaba's data Lake construction strategy is really awesome!
Solution to the problem that the easycvr kernel of intelligent video analysis platform cannot be started as a service
CEPH principle
PCL knowledge points - voxelized grid method for down sampling of point clouds
Solving simple differential equations
visibilitychange – 指定标签页可见时,刷新页面数据
[comment le réseau se connecte] chapitre 6: demande d'accès au serveur et réponse au client (terminé)
Modbus协议通信异常
关于我
Daily question - inverted string
从收集到输出:盘点那些强大的知识管理工具——优秀笔记软件盘点(四)
线性规划例题 投资的收益与风险
维护万星开源向量数据库是什么体验
【網絡是怎樣連接的】第六章 請求到達服務器以及響應給客戶端(完結)
ThreadLocal
How openharmony starts fa (local and remote)
Daily question - xiaolele changes the number
Introduction to nexus and detailed tutorial of Xiaobai using idea to package and upload to nexus3 private server
13、Darknet YOLO3
最长无重复子数组