diff options
| author | adamhrv <adam@ahprojects.com> | 2019-01-28 18:11:36 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-01-28 18:11:36 +0100 |
| commit | dd2c36288aa1e8af14588f9258f6785879b8638c (patch) | |
| tree | 543564ff7cc9b83ae1ecbc5b0d89bca9a6c17742 /megapixels/commands/datasets/count_images.py | |
| parent | b0b06be0defe97ef19cf4d0f3328db40d299e110 (diff) | |
add utils for analyzing identities
Diffstat (limited to 'megapixels/commands/datasets/count_images.py')
| -rw-r--r-- | megapixels/commands/datasets/count_images.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/megapixels/commands/datasets/count_images.py b/megapixels/commands/datasets/count_images.py new file mode 100644 index 00000000..2e952896 --- /dev/null +++ b/megapixels/commands/datasets/count_images.py @@ -0,0 +1,30 @@ +import click + +from app.settings import types +from app.models.dataset import Dataset +from app.utils import click_utils +from app.settings import app_cfg as cfg +from app.utils.logger_utils import Logger + +log = Logger.getLogger() + +@click.command() +@click.pass_context +def cli(ctx, ): + """_template_""" + + import sys + from glob import glob + from os.path import join + from pathlib import Path + import time + + import pandas as pd + import cv2 as cv + from tqdm import tqdm + + from app.utils import file_utils, im_utils + from app.models.data_store import DataStore + + log = Logger.getLogger() + log.info('template works') |
