lfepy is a Python package for local feature extraction.
Project description
lfepy
Local Feature Extractors for Python is a Python package for local descriptors. It provides feature extraction from grayscale images, facilitating AI tasks like object detection, facial recognition, and classification.
Table of Contents
Overview
lfepy is a Python package for local feature extraction. It contains 27 different descriptors that can be used for various tasks in computer vision and image processing.
Features
- Feature 1: 27 different local descriptors.
- Feature 2: Contains essential methods for feature extraction.
- Feature 3: Can be used for computer vision and image processing tasks.
Requirements
- python>=3.0
- numpy>=1.26.4
- scipy>=1.13.0
- scikit-image>=0.23.2
Installation
To install lfepy, use the following command:
pip install lfepy
Usage
Basic Example
# Import the required packages
import matplotlib.pyplot as plt
from matplotlib.image import imread
from lfepy.Descriptor import LBP
# Read the image
image = imread("PATH")
# Extract feature using a specified descriptor
histogram, imgDesc = LBP(image, mode='nh', radius=1, mappingType='riu2')
# Show the descriptor
plt.imshow(imgDesc, cmap='gray')
plt.axis('off')
plt.show()
Documentation
Comprehensive documentation for lfepy is available at lfepydocs. It includes:
- Getting Started
- API Reference
- Tutorials
License
lfepy is licensed under the MIT License. See the LICENSE file for more details.
Contact
For any questions or support, please contact us at lfepython@gmail.com or visit our GitHub Issues page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.