当前位置:网站首页>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
边栏推荐
- ssb门限_SSB调制「建议收藏」
- 将您的基于 Accelerator 的 SAP Commerce Cloud Storefront 迁移到 Spartacus
- Alibaba Tianchi SQL learning notes - Day3
- Ocio V2 reverse LUT
- [web technology] 1233 seconds understand web component
- About me
- Solution to the problem that the easycvr kernel of intelligent video analysis platform cannot be started as a service
- 书包网小说多线程爬虫[通俗易懂]
- Platform management background and business menu resource management: business permissions and menu resource management design
- IPtables中SNAT、DNAT和MASQUERADE的含义
猜你喜欢
Baobab's gem IPO was terminated: Tang Guangyu once planned to raise 1.8 billion to control 47% of the equity
Win10系统使用pip安装juypter notebook过程记录(安装在系统盘以外的盘)
[how to connect the network] Chapter 5 explore the server
维护万星开源向量数据库是什么体验
Win10 system uses pip to install juypter notebook process record (installed on a disk other than the system disk)
[how is the network connected] Chapter 4 explores access networks and network operators
The bottom simulation implementation of vector
This "architect growth note" made 300 people successfully change jobs and enter the big factory, with an annual salary of 50W
[fluent] dart data type map type (create map set | initialize map set | traverse map set)
chrome浏览器快速访问stackoverflow
随机推荐
uva1169
Win10 system uses pip to install juypter notebook process record (installed on a disk other than the system disk)
The beginning of life
Visibilitychange – refresh the page data when the specified tab is visible
SAP commerce cloud storefront framework selection: accelerator or Spartacus?
easyAI笔记——深度学习
智能水电表能耗监测云平台
POJ - 1458 Common Subsequence(最长公共子序列)
How openharmony starts fa (local and remote)
最长无重复子数组
Five reasons to choose SAP Spartacus as the implementation framework of SAP commerce cloud storefront
LeetCode:1380. Lucky number in matrix -- simple
JDBC
第十五章 字符串本地化和消息字典(一)
em120.gige.h
泡椒凤爪制作教程
Solving simple differential equations
每日一题——倒置字符串
Daily question - inverted string
ROS knowledge point - message_filters