Skip to main content

Description

Modular computer vision library developed by the PCR-UPM group for high-performance image processing tasks. Designed with research and engineering in mind, the framework provides reusable components for image preprocessing, and model evaluation. It is built on top of widely adopted libraries such as OpenCV, NumPy, and Rasterio.

System Requirements

This package requires GDAL. It is recommended to install it using Conda:

conda install -c conda-forge gdal

Requisites

Installation

This repository must be located before the following directory:

images_experiments
    └── pcr_framework

Usage

usage: images_experiments.py [-h] --mode {train,test} --part
                             {detection,segmentation,recognition,all}
                             --anns-file ANNS_FILE [--show-viewer]
                             [--save-file] [--save-image] --detection
                             {retinanet17_detection,scrdet19_detection} 
                             --segmentation
                             {unet15_segmentation,ocr20_segmentation}
                             --recognition
                             {resnet15_recognition}
  • Use the -h option to show the help message and exit.

  • Use the --mode option to choose the mode (train, test).

  • Use the --part option to choose the tasks (detection, segmentation, recognition, all).

  • Use the --anns-file option to define the annotations input file.

  • Use the --show-viewer option to show results visually.

  • Use the --save-file option to save experiments in a text file.

  • Use the --save-image option to save the processed images.

  • Use the --detection option to select the detection module.

  • Use the --segmentation option to select the segmentation module.

  • Use the --recognition option to select the recognition module.

> python test/images_experiments.py -m train -p detection -a database/detection/15cm/cowc/cowc_ann_train_train.txt -d scrdet19_detection --database COWC --gpu 0 --gpu 1
> python test/images_experiments.py -m test -p detection -a database/detection/15cm/cowc/cowc_ann_train_test.txt -d scrdet19_detection --database COWC --gpu 0
> python test/images_experiments.py -m test -p all -a database/detection/15cm/cowc/cowc_ann_train_test.txt -d scrdet19_detection -s unet15_segmentation -r resnet15_recognition --database COWC --gpu 0

Metadata

Release files for pcr-framework 2026.10.20

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

Source distribution (sdist)

Source distribution for pcr-framework 2026.10.20
File Size Uploaded Provenance
pcr_framework-2026.10.20.tar.gz 628.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pcr-framework 2026.10.20
File Interpreter ABI Platform
pcr_framework-2026.10.20-py3-none-any.whl Python 3 none any Details

Total release size: 692.5 kB

Release files / pcr_framework-2026.10.20.tar.gz

Download URL pcr_framework-2026.10.20.tar.gz
Size 628.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5ef313e12b774faddbf067ee978f91221e39de169d8ea106a176e8e94938acec
BLAKE2b-256 checksum
How to use checksums
bbff4c0bd876a8c01de136f180cd5d920dd3fa927c3f95dfe66cbd76acf7d005
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.12

Release files / pcr_framework-2026.10.20-py3-none-any.whl

Download URL pcr_framework-2026.10.20-py3-none-any.whl
Size 63.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91b1dcc8a5055cb3c645e9b144ad1ed22158bfa8285436a0ec02004132d86bea
BLAKE2b-256 checksum
How to use checksums
e22e57ad324a39d61f0b483aa42e2f8684bc8a58fd5092085047f44cfec87008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.12

Security for pcr-framework 2026.10.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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