Skip to main content

A tool for overall and object-specific hue adjustment in images.

Project description

ArtColorAnalyzer: Hue Adjustment Tool

ArtColorAnalyzer is a Python package that allows you to adjust the hue of images either overall or object-specifically. It leverages OpenCV, YOLOv3, NumPy, and scikit-image to provide a simple GUI for adjusting hues.

Features

  • Overall Hue Adjustment: Easily adjust the hue for entire images

  • Object-Specific Hue Adjustment: With the object detection capability powered by YOLOv3, you can selectively adjust the hue of specific objects within an image. For instance, in scenes containing multiple elements like people, cars, and trees, you can modify the hue of just the car while leaving the other elements unaffected. Additionally, you can adjust the hue within selected grids. This feature proves beneficial for complex images where object detection is challenging, such as paintings or abstract art.

  • See example.py if you want to try it too!

Example of Object-Specific Hue Adjustment

Object-Specific Hue Adjustment (Cup): Adjusted Image

Example of Grid-Based -- Object-Specific Hue Adjustment

Grid-Based -- Object-Specific Hue Adjustment: Adjusted Image

file structure

artcoloranalyzer/
├── artcoloranalyzer/
│   ├── __init__.py
│   ├── analyzer.py
│   ├── overall_hue_adjustment.py
│   ├── object_specific_hue_adjustment.py
│   └── yolov3/
│       ├── yolov3.cfg
│       ├── yolov3.weights
│       └── coco.names
├── example_image/
│   ├── 00_kaiga.JPG
│   ├── breakfast.png
├── example.py
├── README.md
├── YOLOv3_LICENSE
└── LICENSE
  • please Download this file and place it under yolov3 as in the structure above

...

Third-Party Licenses

This project includes code and data from the YOLOv3 project. The YOLOv3 project is licensed under the Apache License 2.0. For more information, see the YOLOv3_LICENSE file included in this repository.

...

License

This project is licensed under the MIT License - see the LICENSE file for details.

The YOLOv3 components are licensed under their respective licenses - see the YOLOv3_LICENSE file for details.

Installation

You can install the package via pip:

pip install ArtColorAnalyzer

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ArtColorAnalyzer_Hue_Adjustment_Tool-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ArtColorAnalyzer_Hue_Adjustment_Tool-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efda194d4d5f62a84080cca272bbfa866258636756d112039cea0e04d7fd519a
MD5 e50eeb126eba3430ac852fe3ab5e8bf9
BLAKE2b-256 a9eeed9b650728f42134a763189bc7b201a57c20b70f5e333ef17f20f8b19363

See more details on using hashes here.

Supported by

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