semvec/pypi-packages huggingface dataset:
djinn-ai 0.0.1
TBD
Requires Python: >=3.8

# djinn-ai

[![PyPI - Version](https://img.shields.io/pypi/v/djinn-ai.svg)](https://pypi.org/project/djinn-ai)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/djinn-ai.svg)](https://pypi.org/project/djinn-ai)

-----

## Table of Contents

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install djinn-ai
```

## License

`djinn-ai` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
cow-face 1.0.1
Add a cow mask to the face

# Cow Face

Add a cow mask to the face using OpenCV and Python.

## Description

`Cow Face` is a Python package that allows you to overlay an animal mask onto a face in an image. It uses OpenCV for image processing.

## Installation

To install the package, you can use the following command:

```bash
pip install git+pip install git+https://github.com/SinaHosseini/Cow-Face
```

or

```bash
pip install cow-face
```

## Usage

Here's an example of how to use the package:

```python
import cow_face
import cv2

# Define the paths to the images
image_path = "path/to/your/image.jpg"
cow_path = "input/cow.jpg"

# Read the images
my_image = cv2.imread(image_path)
image_cow = cv2.imread(cow_path)

# Resize images if needed
my_image = cv2.resize(my_image, [640, 640])
image_cow = cv2.resize(image_cow, [640, 640])

# Apply the mask
image_cow_ghost, image_cow_transparent = cow_face.transparent_sticker(image_cow)
convert_image = my_image * image_cow_ghost + image_cow_transparent

# Save the result
cv2.imwrite("output/animal_face.jpg", convert_image)
```

You can also run the script directly from the command line:

```bash
python cow_face.py --image_path path/to/your/image.jpg
```

## Requirements

Python 3.6+<br>
OpenCV<br>
NumPy

## Author

Sina Hosseini

Email: sshosseinivaez@gmail.com

## License

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