luckylz
Active Member
- Joined
- Apr 8, 2015
- Messages
- 414
- Reaction score
- 107
- Country
- China
I'd like to share my program (written in C) can get some exif information from Xiaomi Yi photo(jpg) / thumbnail(thm), directly run in camera.
Limitations:
1.Only works for jpg & thm on Xiaomi Yi camera, others camera jpg format is not same;
2.As I only need the ISO & ShutterSpeed, there are only 2 values read from photos.
If you know how make bash script, that can be easily adapter to your own script.
Installations:
1. download & unzip the file getexif to your micro sd card;
2. enabled camera's telnet mode.
How to use:
1. connect to telnet;
2. just type the command getexif.
Have fun !
Limitations:
1.Only works for jpg & thm on Xiaomi Yi camera, others camera jpg format is not same;
2.As I only need the ISO & ShutterSpeed, there are only 2 values read from photos.
If you know how make bash script, that can be easily adapter to your own script.
Installations:
1. download & unzip the file getexif to your micro sd card;
2. enabled camera's telnet mode.
How to use:
1. connect to telnet;
2. just type the command getexif.
Code:
USAGE: getexif <JPEGFILE>
Code:
Example 1:
/tmp/fuse_d/getexif /tmp/fuse_d/DCIM/100MEDIA/YDXJ0032.jpg
result:
<ISO>142</ISO><EXP>1/480</EXP>
Example 2:
cd /tmp/fuse_d/
./getexif /tmp/fuse_d/DCIM/100MEDIA/YDXJ0033.THM
result:
<ISO>393</ISO><EXP>1/60</EXP>
Have fun !
Attachments
Last edited: