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.
Source Distribution
Built Distribution
File details
Details for the file lfepy-1.0.9.tar.gz
.
File metadata
- Download URL: lfepy-1.0.9.tar.gz
- Upload date:
- Size: 58.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d0bd2a9453bd915637d9b40e998c671393f8ccceca04e4dbad4d73c356889ef |
|
MD5 | 06770ccfeff8eb400f0e6677cca6de14 |
|
BLAKE2b-256 | e90c0f4b6b8600d880574c4d7b107a5d6c8395099e172a5cc248af9a52bf83b5 |
File details
Details for the file lfepy-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: lfepy-1.0.9-py3-none-any.whl
- Upload date:
- Size: 118.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183f0f545266fc8a14d4c2a8f9ffe9d157b35dece675875f231c36f1a2555793 |
|
MD5 | e0a6e047ccfca63b6bbd4213b92313ec |
|
BLAKE2b-256 | 6d1cc9725ce2139f6ae5eecca5c4ff5f96fcb59effa3466811a9ae2d06082859 |