Skip to content

IranTheCreator/FaceExtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FaceExtractor

FaceExtractor is a Python package that extracts faces from images using the face_recognition and OpenCV libraries.

Installation

Use the package manager pip to install FaceExtractor.

pip install simntek-face-extractor

Usage

from your_package_name.face_extractor import FaceExtractor

# Create an instance of the FaceExtractor
face_extractor = FaceExtractor()

# Define the input and output directories
input_directory = "path/to/input_directory"
output_directory = "path/to/output_directory"

# Call the method to extract faces
face_extractor.extract_faces(input_directory, output_directory)

Features

  • Extract faces from images in a specified directory.
  • Save face regions as new images.
  • Dependencies
  • opencv-python
  • face_recognition

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Acknowledgments

Thanks to the creators of OpenCV and face_recognition libraries.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages