summaryrefslogtreecommitdiff
path: root/check/commands/imagehash/test.py
blob: b3ddbe536e2f61296b343447a58f82297209f519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
Query the database with a test set
"""

import click

from app.models.sql_factory import search_by_phash, add_phash

@click.command()
@click.option('-i', '--input', 'opt_fn',
  required=True,
  help="Directory to search")
@click.pass_context
def cli(ctx, opt_fn):
  """
  Search the database for an image
  """
  print('Query the database with a test set')