CLI for ML Pipeline
Project description
Recognizes
This CLI allows you to upload files to the ML Pipeline and query results.
First Steps
You first need to make sure that you have the requirements needed to install the CLI as well as install the CLI itself.
Make sure that you have python
and pip
installed. It is recommended that you use a virtual environment although not
a requirement.
Then to install the CLI run the following command in your shell:
pip install recognize
Usage
After installing the CLI run the following command:
recognize --help
This should show you a list of all the available commands with a short description of what they do. You can append
the --help
option to each command for more details about the command. For example:
recognize upload --help
This should give you a list of all the subcommands for this command, the options, and the order in which to write them.
Examples
To upload a directory of videos, accepted file types are mp4
and mov
:
recognize upload directory --output results.csv path/to/directory/of/videos
After uploading videos it will take a few minutes to process them all. After which you can start querying.
recognize search keywords --output results.csv some interesting words
You can also search for specific entry types returned by AWS Rekognition. For example to which resources might have potentially harmful, violent, or offensive content run the following command:
recognize search entries --output results.csv moderation
Finally, to search for a particular face run the following command, accepted file types are png
and jpeg
:
recognize search faces --output results.csv file/path/to/image/of/face
Results
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file recognize-0.1.15.tar.gz
.
File metadata
- Download URL: recognize-0.1.15.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.9.16 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b97121c2428ec49f443f77bfa57fe0f81ae990eedb621001328b1867b87eb8c |
|
MD5 | e5f7752e04fb66780dbc0910ccb813a6 |
|
BLAKE2b-256 | 617e6e280c33af27c756f6def0ee498c8970de6e53749b6f4d1e4744bba1936e |
File details
Details for the file recognize-0.1.15-py3-none-any.whl
.
File metadata
- Download URL: recognize-0.1.15-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.9.16 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 294089d6c8c231b4fcf6392cc374a11e037dafa45d9601b012e72fd19f59bafc |
|
MD5 | 532839e688cd85ad9c48fcbd4934819e |
|
BLAKE2b-256 | af87988d3fd3f6653f1226114cbdb610a779149c4a01179f340b3a3b26610a53 |