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

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.24
File Size Uploaded Provenance Actions
pcr_framework-2026.10.24.tar.gz 628.9 kB Without provenance Details for pcr_framework-2026.10.24.tar.gz

Built distribution (wheel)

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

Total release size: 692.6 kB

Release files / pcr_framework-2026.10.24.tar.gz

Download URL pcr_framework-2026.10.24.tar.gz
Size 628.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2c9479104b7498825b5a3a459f2db063be242053864a8b69b494217dfc4f6c6c
BLAKE2b-256 checksum
How to use checksums
ed1e74dcbee0f3fe3ab0ea1f6279a96ad476c650f78ea464c9faee57f6fddd07
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.24-py3-none-any.whl

Download URL pcr_framework-2026.10.24-py3-none-any.whl
Size 63.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bcefbc9bf69fc7eeedc491ed321b2299186901ac1fef1471d46b9722a061c7d
BLAKE2b-256 checksum
How to use checksums
b7eb7284bd4a8995b7f8f52327161d45e9d5eaa1f999c22bda20046add600bf0
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.24

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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