Skip to content

About

This project demonstrates how to change the hair color in an image using OpenCV. The script allows users to select the hair region in an image and apply a new color to it. The technique leverages image processing and color manipulation to detect the hair area and replace its color dynamically.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Hair Color Change with OpenCV

This project demonstrates how to change the hair color in an image using OpenCV. The script allows you to select and modify the hair region in an image and apply a new color to it. It uses various image processing techniques such as color segmentation, thresholding, and region detection to isolate the hair and replace its color dynamically.

Features

  • Detects hair regions automatically using image segmentation techniques.
  • Allows you to change the hair color to any desired shade.
  • Simple command-line interface to upload and edit images.
  • Supports multiple image formats.

Requirements

To run this project, you'll need the following dependencies:

  • Python 3.x
  • OpenCV
  • NumPy

To Try It Out

https://huggingface.co/spaces/elifirinci/change-hair-color

About

This project demonstrates how to change the hair color in an image using OpenCV. The script allows users to select the hair region in an image and apply a new color to it. The technique leverages image processing and color manipulation to detect the hair area and replace its color dynamically.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages