Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

How to take picture in maximum quality?

spider-x

New member
Joined
Jul 9, 2022
Messages
1
Reaction score
0
Hello, i'm trying to take picture from the tello at maximum quality. Buť i don't know exactly how to do it. Can you help me? I think this could be good start, but i don't know to receive the picture. Any help would be appreciated.

Code:
    def takePicture(self,switch_mode=0,set_ev,jpeg_quality):
        #mode = 0 -picture mode
        #mode = 1 -video mode
        #set_ev = from -9 to 9
        #jpeg_quality = i don't know possible values
        self._sendCmd(0x68, self.TELLO_CMD_SWITCH_PICTURE_VIDEO, bytearray([switch_mode]))
        self._sendCmd(0x68, self.TELLO_CMD_SET_EV, bytearray([set_ev]))
        self._sendCmd(0x68, self.TELLO_CMD_SET_JPEG_QUALITY, bytearray([jpeg_quality]))
        self._sendCmd(0x68, self.TELLO_CMD_TAKE_PICTURE, bytearray([]))
        #here somehow receive the picture
 

New Threads

Members online

No members online now.

Forum statistics

Threads
5,443
Messages
38,856
Members
15,445
Latest member
DrewLuke97