Skip to main content

A utility to capture faces from webcam and save them in grayscale

Project description

Webcam Face Capture

License: MIT License: GPL v3

This Python script captures faces from a webcam, converts them to grayscale, and saves them to a specified folder.

Explanation:

  • Installation:
pip install webcam_face_capture

Usage

import webcam_face_capture as wb
wb.webcam_face_capture('folder_apth')

Additional Details

  • Dependencies: Ensure you have opencv-python installed, as it's a requirement for this package.

  • Customization: Modify the face detection parameters (scaleFactor, minNeighbors, minSize) inside the webcam_face_capture function in webcam_face_capture.py based on your webcam setup and environment for optimal detection.

  • Feedback: Real-time feedback on the webcam feed includes the number of images saved and face detection status. Press 'q' to quit the capture.

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

webcam_face_capture-1.0.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

webcam_face_capture-1.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file webcam_face_capture-1.0.0.tar.gz.

File metadata

  • Download URL: webcam_face_capture-1.0.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for webcam_face_capture-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0b98d229fb4a213f4c84e22a884c52d381fd58d99f2ffc7a88de27c170749137
MD5 c02a73796f384caffc46b40d77adc7c8
BLAKE2b-256 b79a0617a6e0af7844068c2c00e246f3ed2bf2d0607621735bd3b34cec90ec05

See more details on using hashes here.

File details

Details for the file webcam_face_capture-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for webcam_face_capture-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2164a8c79de994da8e79e96c3004265f8890c79541881bd6c5dde1b0bbdab83d
MD5 2db774305c4560740485dcabd9ae994c
BLAKE2b-256 9cc25a8733be242d5b3814d59bcf394e4fd73bd121a33a09348532291c1c3f94

See more details on using hashes here.

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