Metadata-Version: 2.1
Name: lfepy
Version: 1.0.9
Summary: lfepy is a Python package for local feature extraction.
Home-page: https://github.com/lfepy/lfepy
Author: Dr. Prof. Khalid M. Hosny, BSc. Mahmoud A. Mohamed, Dr. Essa E. Almazroei
Author-email: lfepy@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: numpy>=1.26.4
Requires-Dist: scipy>=1.13.0
Requires-Dist: scikit-image>=0.23.2

# 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](#overview)
2. [Features](#features)
3. [Requirements](#Requirements)
4. [Installation](#installation)
5. [Documentation](#documentation)
6. [License](#license)
7. [Contact](#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:

```bash
pip install lfepy
```
## Usage
Basic Example
```python
# 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](example/Example.png)
## Documentation
Comprehensive documentation for lfepy is available at [lfepydocs](documentation). It includes:

- **Getting Started**
- **API Reference**
- **Tutorials**

## License
lfepy is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for more details.

## Contact
For any questions or support, please contact us at lfepython@gmail.com or visit our [GitHub](https://github.com/lfepy/lfepy) Issues page.
