Skip to main content

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

  1. Overview
  2. Features
  3. Requirements
  4. Installation
  5. Documentation
  6. License
  7. Contact

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()

Alt text

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lfepy-1.0.9.tar.gz (58.9 kB view hashes)

Uploaded Source

Built Distribution

lfepy-1.0.9-py3-none-any.whl (118.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page