简体   繁体   English

使用 platformio 中的 esp32-camera 库自定义图像大小

[英]custom image size using the esp32-camera library in platformio

I've been trying to write a program that processes image data from an esp32-cam, but in order to process it on the device, I cannot use the jpeg format to store data, but rather have to use GRAYSCALE, which limits me to a very slow frame rate.我一直在尝试编写一个程序来处理来自 esp32-cam 的图像数据,但是为了在设备上处理它,我不能使用 jpeg 格式来存储数据,而是必须使用 GRAYSCALE,这限制了我非常慢的帧速率。 Long story short, I only need a thin, predefined sliver of the photo, and was hoping I could create a custom image format to only get that portion of the photo to speed up processing time.长话短说,我只需要一张薄的、预定义的照片片段,并希望我可以创建一个自定义图像格式来只获取照片的那一部分以加快处理时间。 I'm fairly new to c++ and as such do not want to screw anything up with the packages functions;我对 c++ 相当陌生,因此不想搞砸包功能; Does anyone know how one could create a custom image format in the sp32-camera library in the esp-idf framework that only takes a small portion of the camera's data?有谁知道如何在 esp-idf 框架的 sp32-camera 库中创建自定义图像格式,只需要一小部分相机数据?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM