Skip to main content

CLI for ML Pipeline

Reason this release was yanked:

Error in upload

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recognize-0.1.13.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

recognize-0.1.13-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file recognize-0.1.13.tar.gz.

File metadata

  • Download URL: recognize-0.1.13.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.16 Darwin/21.6.0

File hashes

Hashes for recognize-0.1.13.tar.gz
Algorithm Hash digest
SHA256 67497a16e4d1c212249112915440bd148e2b6d07c95ee6cdc85a82ea632020fc
MD5 46ad236718491480e5ce64e6993980f6
BLAKE2b-256 fc6d7b145ba9adca25c21db85645d770d2e7a4d375f3751c274d94c8564ccb2f

See more details on using hashes here.

File details

Details for the file recognize-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: recognize-0.1.13-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

Hashes for recognize-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 05ad1e4e67c14815492731b00454bb007c1e08c92af86a7941a258bf31bb403f
MD5 ba166b37a24d7aaba9e9adb08b03939d
BLAKE2b-256 d36e34d44cc6ef4185e65845bf41a7e9031e88ed501c138ca7d4fb4473ecd0e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page