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.21

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.21
File Size Uploaded Provenance
pcr_framework-2026.10.21.tar.gz 628.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 692.6 kB

Release files / pcr_framework-2026.10.21.tar.gz

Download URL pcr_framework-2026.10.21.tar.gz
Size 628.8 kB
Tags Source
SHA-256 checksum
How to use checksums
25a9d6eedb18dba1eb5ac638c142f721c074fa36e58728902e9f448f3b62a32b
BLAKE2b-256 checksum
How to use checksums
28042da13cc472a93690fc73856d08b94197073e0c080920f8899f798ddcabf2
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.21-py3-none-any.whl

Download URL pcr_framework-2026.10.21-py3-none-any.whl
Size 63.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
475399c9812603443de9e8f788afea92647af2e62c6a0dbf5bfb42734e396d85
BLAKE2b-256 checksum
How to use checksums
d0e4a0829b08a7d50848abf44e59e17805d3160bda550e98a11bd92915135e17
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.21

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