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

Release files for fsai-coco-filter 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fsai-coco-filter 0.1.3
File Size Uploaded
fsai-coco-filter-0.1.3.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fsai-coco-filter 0.1.3
File Interpreter ABI Platform
fsai_coco_filter-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / fsai-coco-filter-0.1.3.tar.gz

Download URL fsai-coco-filter-0.1.3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
de54bb33e037319da3eac718f2e835fb024ef6a41bc00a2dfbe0767ee7f0acfa
BLAKE2b-256 checksum
How to use checksums
5e3460c3b760616da57eef3e53773e944448a65d9e58b9fadb8ae48b7327e4b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

Release files / fsai_coco_filter-0.1.3-py3-none-any.whl

Download URL fsai_coco_filter-0.1.3-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a66b87ffd1063d5b2b2be2a00e4083d56dc58f1e47a75be38f0c70d8accf4d02
BLAKE2b-256 checksum
How to use checksums
c6c6f1bec67f67760ab5d97e320086b1256e580ca649a75b3cd74f5a60bf4e69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page