pgcv
is a PostgreSQL extension for Computer Vision from the database server. The extension implements algorithms for image segmentation, in particular: digital mammogram segmentation.
The extension implements both data types and functions. The data types are PostgreSQL composite types and the functions were created using PL/Python, meaning the function's body is written in Python.
You can find the documentation under the docs directory here
This extension was born in the National University Costa Rica as one of the main products of the project SIA0511-16 "Databases for the storage and analysis of digital mammograms".
The extension was designed and developed by me, Roberto Mora. The first version has the purpose of creating a database for storing mammograms and information about patients using the pgcv
data types.
However, I have tried to generalize the extension for other areas of Computer Vision (hence the name) hoping I can add new functions later on, not only those used for mammogram analysis.
- PostgreSQL 10 with support for PL/Python
- Python3
The extension can be installed with the install.py
script located in the root directory.
Execute this script with Python3 and it will copy the required files to PostgreSQL shared extension directory.
After that, connect to your PostgreSQL database and execute the following commands:
CREATE EXTENSION PLPYTHON3U;
CREATE EXTENSION PGCV;
Logo altered from an image by Freepik