summaryrefslogtreecommitdiff
path: root/megapixels/commands/datasets/count_images.py
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-01-28 18:11:36 +0100
committeradamhrv <adam@ahprojects.com>2019-01-28 18:11:36 +0100
commitdd2c36288aa1e8af14588f9258f6785879b8638c (patch)
tree543564ff7cc9b83ae1ecbc5b0d89bca9a6c17742 /megapixels/commands/datasets/count_images.py
parentb0b06be0defe97ef19cf4d0f3328db40d299e110 (diff)
add utils for analyzing identities
Diffstat (limited to 'megapixels/commands/datasets/count_images.py')
-rw-r--r--megapixels/commands/datasets/count_images.py30
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')