Skip to content

aben20807/exif_count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exif_count

Description

Make statistic for my/your photos.

Install

$ pip3 install git+https://github.com/aben20807/exif_count.git

stable version:

$ pip3 install git+https://github.com/aben20807/exif_count.git@v1.0.0

Usage

$ exif_count -h
usage: exif_count [-h] -s SRC [-r] [--dir_filter DIR_FILTER]
                     [--img_exts IMG_EXTS]

optional arguments:
  -h, --help            show this help message and exit
  -s SRC, --src SRC     input dir (required) (default: None)
  -r, --recursive       recursively process (default: False)
  --dir_filter DIR_FILTER
                        included substring in parent directries
                        (default: )
  --img_exts IMG_EXTS   support extensions for processed photos (case
                        insensitive) (default: jpg,jpeg,png,tiff)

Example

$ exif_count -s /mnt/share/z6ii/ -r --dir_filter select

args: Namespace(dir_filter='select', img_exts='jpg,jpeg,png,tiff', recursive=True, src='/mnt/share/z6ii/')
100%|████████████████████████████████████████████████████████████████████████████| 1055/1055 [00:16<00:00, 64.53it/s]

[DateTimeOriginal]
2022-07-22  [ 4]  **
2022-07-23  [ 7]  ***
2022-07-24  [14]  ******
2022-07-26  [ 6]  ***
2022-07-27  [ 3]  **
2022-07-28  [ 4]  **
2022-07-30  [ 7]  ***
2022-07-31  [ 1]  *
2022-08-02  [ 2]  *
2022-08-04  [18]  ********
2022-08-07  [ 4]  **
2022-08-08  [10]  ****
2022-08-10  [ 3]  **
2022-08-11  [ 9]  ****
2022-08-12  [51]  *********************
2022-08-14  [ 1]  *
2022-08-15  [24]  **********
2022-08-17  [ 2]  *
2022-08-19  [ 8]  ****
2022-08-21  [ 3]  **
2022-08-30  [ 5]  **
2022-09-04  [ 2]  *
2022-09-06  [ 1]  *
2022-09-09  [20]  *********
2022-09-10  [15]  ******
2022-09-11  [ 2]  *
2022-09-14  [ 5]  **
2022-09-15  [ 3]  **
2022-09-18  [ 3]  **
2022-09-19  [ 3]  **
2022-09-20  [ 6]  ***
2022-09-21  [ 4]  **
2022-09-22  [ 9]  ****
2022-09-25  [19]  ********
2022-09-26  [ 2]  *
2022-09-28  [ 2]  *
2022-09-30  [ 6]  ***
2022-10-01  [61]  *************************
2022-10-05  [ 6]  ***
2022-10-06  [ 2]  *
2022-10-07  [ 3]  **
2022-10-08  [13]  ******
2022-10-09  [ 1]  *
2022-10-11  [ 6]  ***
2022-10-13  [ 5]  **
2022-10-15  [ 6]  ***
2022-10-16  [37]  ***************
2022-10-20  [14]  ******
2022-10-21  [ 1]  *
2022-10-22  [ 7]  ***
2022-10-26  [ 3]  **
2022-10-28  [ 1]  *
2022-10-30  [ 6]  ***
2022-11-01  [ 9]  ****
2022-11-02  [35]  ***************
2022-11-03  [ 1]  *
2022-11-04  [ 2]  *
2022-11-05  [91]  *************************************
2022-11-07  [ 1]  *
2022-11-08  [ 3]  **
2022-11-10  [ 3]  **
2022-11-11  [ 8]  ****
2022-11-12  [ 2]  *
2022-11-13  [ 3]  **
2022-11-15  [ 7]  ***
2022-11-20  [25]  ***********
2022-11-26  [10]  ****
2022-11-28  [ 4]  **
2022-11-29  [ 3]  **
2022-12-01  [12]  *****
2022-12-02  [ 8]  ****
2022-12-04  [15]  ******
2022-12-06  [ 5]  **
2022-12-07  [12]  *****
2022-12-09  [ 6]  ***
2022-12-11  [ 6]  ***
2022-12-12  [12]  *****
2022-12-15  [10]  ****
2022-12-20  [10]  ****
2022-12-21  [ 2]  *
2022-12-24  [14]  ******
2022-12-25  [ 4]  **
2022-12-27  [ 6]  ***
2022-12-28  [ 9]  ****
2022-12-31  [99]  ****************************************
2023-01-01  [10]  ****
2023-01-03  [15]  ******
2023-01-07  [12]  *****
2023-01-08  [18]  ********
2023-01-13  [ 1]  *
2023-01-20  [ 3]  **
2023-01-22  [ 7]  ***
2023-01-27  [15]  ******
2023-01-28  [ 8]  ****
2023-02-01  [17]  *******
2023-02-04  [13]  ******
2023-02-05  [ 1]  *
2023-02-06  [ 3]  **
2023-02-08  [ 3]  **
2023-02-09  [10]  ****
2023-02-10  [ 1]  *
2023-02-11  [20]  *********

[Model]
NIKON Z 6_2  [1000]  ****************************************
SM-G9980     [  54]  ***

[LensModel]
NIKKOR Z 24-70mm f/4 S  [998]  ****************************************

[FNumber]
4.0   [748]  ****************************************
4.5   [ 27]  **
5.0   [ 53]  ***
5.6   [ 42]  ***
6.3   [ 46]  ***
7.1   [  7]  *
8.0   [ 27]  **
9.0   [ 21]  **
10.0  [ 15]  *
11.0  [  7]  *
14.0  [  1]
16.0  [  1]
22.0  [  3]  *

[ExposureTime]
1/5000  [  2]  *
1/4000  [  3]  *
1/3200  [  1]  *
1/2500  [  4]  *
1/2000  [  4]  *
1/1600  [  4]  *
1/1250  [  8]  **
1/1000  [  8]  **
1/800   [ 16]  ***
1/640   [ 12]  **
1/500   [ 23]  ****
1/400   [ 27]  *****
1/320   [ 36]  ******
1/250   [ 40]  *******
1/200   [ 51]  *********
1/160   [ 74]  ************
1/125   [ 87]  **************
1/100   [253]  ****************************************
1/80    [189]  ******************************
1/60    [ 69]  ***********
1/50    [ 32]  *****
1/40    [  9]  **
1/30    [  7]  **
1/25    [ 13]  **
1/20    [  2]  *
1/15    [  2]  *
1/13    [  4]  *
1/8     [  2]  *
1/5     [  2]  *
1/2     [  1]  *
10/13   [  1]  *
4/5     [  1]  *
1       [  2]  *
5/2     [  1]  *
4       [  1]  *
5       [  1]  *
10      [  2]  *
13      [  1]  *
30      [  3]  *

[ISOSpeedRatings]
100    [248]  ****************************************
125    [ 47]  ********
160    [ 49]  ********
200    [ 51]  *********
250    [ 59]  **********
280    [  2]  *
320    [ 53]  *********
360    [  1]  *
400    [ 53]  *********
500    [ 49]  ********
640    [ 69]  ************
800    [ 72]  ************
1000   [ 48]  ********
1100   [  1]  *
1250   [ 30]  *****
1600   [ 39]  *******
2000   [ 20]  ****
2500   [ 15]  ***
3200   [ 17]  ***
4000   [ 10]  **
5000   [ 13]  ***
5600   [  2]  *
6400   [ 24]  ****
7200   [  1]  *
8000   [  6]  *
9000   [  1]  *
10000  [  4]  *
12800  [  8]  **
14400  [  1]  *
16000  [  2]  *
25600  [  1]  *

[FocalLength]
24.0  [212]  ***************
24.5  [  2]  *
25.0  [  3]  *
25.5  [  6]  *
26.0  [  6]  *
26.5  [  5]  *
27.0  [  5]  *
27.5  [  1]  *
28.0  [  4]  *
28.5  [  1]  *
29.5  [  2]  *
30.0  [  6]  *
31.0  [  3]  *
31.5  [  6]  *
32.0  [  2]  *
32.5  [  1]  *
33.0  [  6]  *
33.5  [  1]  *
34.0  [  3]  *
34.5  [  6]  *
35.0  [ 10]  *
36.0  [  5]  *
37.0  [  2]  *
38.0  [  3]  *
39.0  [  3]  *
41.0  [  3]  *
42.0  [  4]  *
43.0  [  9]  *
44.0  [  3]  *
45.0  [  5]  *
46.0  [  6]  *
47.0  [  9]  *
48.0  [  1]  *
49.0  [  4]  *
50.0  [  6]  *
51.0  [  1]  *
52.0  [  5]  *
53.0  [  5]  *
54.0  [  4]  *
55.0  [  6]  *
56.0  [  4]  *
57.0  [  5]  *
58.0  [  1]  *
59.0  [  3]  *
60.0  [  3]  *
61.0  [  4]  *
62.0  [  2]  *
63.0  [  2]  *
64.0  [  2]  *
65.0  [  5]  *
66.0  [  4]  *
68.0  [  1]  *
69.0  [  3]  *
70.0  [582]  ****************************************

Optional for my NAS

$ sudo mount -t drvfs '\\ben-nas\photo' /mnt/share
$ sudo umount /mnt/share

Development

$ python3 -m virtualenv venv
$ source venv/bin/activate
$ pip install Pillow tqdm termplotlib

License

MIT