Skip to main content

fsai-coco-filter

fsai-coco-filter provides a way to apply filters to a coco annotation file from a project configuration file.

Installation

# Install fsai-coco-filter
pip install fsai-coco-filter

Add an fcf.json to your project

{
    "filter_annotations": [
        "Powerline Pylon, Type A, H, Y",
        "Powerline Pylon, Type I",
        "Light Support Structure"
    ],
    "reset_category_ids": true,
    "update_info": {
        "year": 2022,
        "version": "v1.0",
        "contributor": "Foundation Stack AI",
        "description": "Contact for more info.",
        "url": "https://fsai.dev"
    }
}

Run the coco-filter

fsai-coco-filter
--input_file_path /tmp/coco.json
--output_file_path /tmp/coco-filtered.json

coco-filter help

coco-filter

usage: coco-filter [-h] -i INPUT_FILE_PATH -o OUTPUT_FILE_PATH [-c CONFIG_FILE]
coco-filter: error: the following arguments are required: -i/--input_file_path, -o/--output_file_path

Download files

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

Source Distribution

fsai-coco-filter-0.1.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsai_coco_filter-0.1.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file fsai-coco-filter-0.1.3.tar.gz.

File metadata

  • Download URL: fsai-coco-filter-0.1.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

File hashes

Hashes for fsai-coco-filter-0.1.3.tar.gz
Algorithm Hash digest
SHA256 de54bb33e037319da3eac718f2e835fb024ef6a41bc00a2dfbe0767ee7f0acfa
MD5 f792ab83e494c79cd390ab7fec05c5bb
BLAKE2b-256 5e3460c3b760616da57eef3e53773e944448a65d9e58b9fadb8ae48b7327e4b3

See more details on using hashes here.

File details

Details for the file fsai_coco_filter-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: fsai_coco_filter-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

File hashes

Hashes for fsai_coco_filter-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a66b87ffd1063d5b2b2be2a00e4083d56dc58f1e47a75be38f0c70d8accf4d02
MD5 9d847930266a031901ad1cb1ce7ed20e
BLAKE2b-256 c6c6f1bec67f67760ab5d97e320086b1256e580ca649a75b3cd74f5a60bf4e69

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page