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

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

Built distribution (wheel)

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

Total release size: 692.5 kB

Release files / pcr_framework-2026.10.22.tar.gz

Download URL pcr_framework-2026.10.22.tar.gz
Size 628.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0a05ac4dc8114a8dc9984f542b5dd87f2ba4f089e454e6cf1726c0dd480fd57c
BLAKE2b-256 checksum
How to use checksums
27e06676de651ee61750bd910d4abd6f7525657e200066b49fc438fb7f3f5003
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.22-py3-none-any.whl

Download URL pcr_framework-2026.10.22-py3-none-any.whl
Size 63.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a969301cd179b8189f93a91efd365a4fd91b780bc8778729a858e4b74092bc7c
BLAKE2b-256 checksum
How to use checksums
59aae982627ff2e1b5a9068c58f16d3a802760401261efd0cc95c2580e73c38e
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.22

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