An open API service indexing awesome lists of open source software.

https://github.com/saravanabalagi/phog

Pyramid Histogram of Gradients descriptor implemented in both C++ and Python
https://github.com/saravanabalagi/phog

computer-vision global-descriptor image-descriptor implementation phog

Last synced: about 1 month ago
JSON representation

Pyramid Histogram of Gradients descriptor implemented in both C++ and Python

Awesome Lists containing this project

README

        

# Pyramid Histogram of Gradients (PHOG)

[![language](https://img.shields.io/badge/language-python-blue.svg)]()
[![language](https://img.shields.io/badge/language-c++-blue.svg)]()
[![The MIT License](https://img.shields.io/badge/license-MIT-green.svg)](LICENCE)

PHOG descriptor implemented in both C++ and Python. An example [image](data/image_sample.jpg) from City Centre Dataset is provided in the [data](data) folder along with the reference [descriptor](data/image_sample.jpg) for testing purposes.

Python Project dependencies (Poetry):
- numpy
- opencv-python

C++ Project dependencies (CMake):
- [OpenCV](https://opencv.org/)
- [cnpy](https://github.com/saravanabalagi/cnpy) (for numpy ops)
- [zlib](https://www.zlib.net/) (for npz compression)
- [boost](https://www.boost.org/) (for reading files)
- [OpenMP](https://www.openmp.org/) (for multiprocessing)

As can be seen in the results, the implementation produces descriptors that are accurate upto 3 decimals.