热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

OptimizeDataCompressionPriortoTransmission

Data that is sent to Python API is uncompressed, therefore connecting to a remote server running Car

Data that is sent to Python API is uncompressed, therefore connecting to a remote server running Carla requires a lot of bandwidth. In particular uncompressed camera data are very large, for example a 1920x1080 image occupies 8.3Mb.
It would be useful to have some compression before sending the data. A few ideas:
- Don't send unrequired channels, for example the A channel when it is not used
- Use lossless image compression on the single frames (for example PNG)
- Use lossless video compression

该提问来源于开源项目:carla-simulator/carla

The alpha channel is probably not necessary ; not sending it at all sounds like a good idea of improvement. The first thing the pygame-based carla clients do, is to strip that channel off (and it costs 3 ms per frame).





   



推荐阅读
author-avatar
肥姐PK老赖
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有