Skip to main content

Python package for easily interfacing with MediaCatch APIs and data formats.

Project description

Unit Tests Quality Check Publish

MediaCatch

Python package for easily interfacing with MediaCatch APIs and data formats.

Requirements

Installation

Install with pip

pip install mediacatch

Getting Started

Firstly, add your MediaCatch API key to your environment variables

export MEDIACATCH_API_KEY=<your-api-key-here>

Then you can start using the command line interface

mediacatch --help
usage: mediacatch <command> [<args>]

MediaCatch CLI tool

positional arguments:
  {speech,vision,viz}  mediacatch command helpers
    speech             CLI tool to run inference with MediaCatch Speech API
    vision             CLI tool to run inference with MediaCatch Vision API
    viz                CLI tool to visualize the results of MediaCatch

options:
  -h, --help           show this help message and exit

Upload a file to MediaCatch Speech API and get the results

mediacatch speech path/to/file --save-result path/to/save/result.json
# or to see options
mediacatch speech --help

Upload a file to MediaCatch vision API and get the results

mediacatch vision path/to/file ocr --save-result path/to/save/result.json
# or to see options
mediacatch vision --help

Visualize the results from MediaCatch

mediacatch viz ocr path/to/file path/to/result.json path/to/save.mp4
# or to see options
mediacatch viz --help

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

mediacatch-0.0.5.tar.gz (170.3 kB view hashes)

Uploaded Source

Built Distribution

mediacatch-0.0.5-py3-none-any.whl (175.7 kB view hashes)

Uploaded Python 3

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