2093 views|4 replies

6818

Posts

11

Resources
The OP
 

How to convert K210 image into JPEG data stream after acquisition [Copy link]

Finally, I am learning to use the MAIX BIT development board, the main control is k210, I need to get the image from the camera, convert it into a JPEG data stream, and send it to the serial screen via the serial port. Can you guys help me?

This post is from Linux and Android

Latest reply

Some cameras can be configured to output JPEG  Details Published on 2022-7-8 21:24

2056

Posts

0

Resources
2
 

This has a routine, you can look at the example in the IDE

This post is from Linux and Android
 
 

6742

Posts

2

Resources
3
 

What is the image stream after the camera acquires it?

This post is from Linux and Android
 
 
 

9702

Posts

24

Resources
4
 

Some cameras can be configured to output JPEG

This post is from Linux and Android

Comments

Thanks a lot, I have found it: img = img.compressed(quality=50) hex_data = img.to_bytes()  Details Published on 2022-7-8 21:51
 
 
 

6818

Posts

11

Resources
5
 
littleshrimp posted on 2022-7-8 21:24 Some cameras can be configured to output in JPEG

Thanks a lot, I found it:

img = img.compressed(quality=50)

hex_data = img.to_bytes()

This post is from Linux and Android
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list