semvec/pypi-packages huggingface dataset:
coffeepy 0.2.1
Coffeepy prevents the system from sleeping
Requires Python: >=3.7

[![Supported Python versions](https://img.shields.io/pypi/pyversions/coffeepy.svg?style=flat)](https://pypi.python.org/pypi/coffeepy/) [![PyPI Version](https://img.shields.io/pypi/v/coffeepy.svg)](https://pypi.python.org/pypi/coffeepy)
# Coffeepy

Coffeepy ☕️ is a small program that prevents the system from sleeping.
Works on MacOS, Windows and Linux.

<img alt="coffeepy" src="https://github-production-user-asset-6210df.s3.amazonaws.com/22169537/253075028-9eaccaca-a567-4bd8-86c1-63d4870664ad.gif" width="600" />

## Installation

```sh
pip install -U coffeepy
```

## Usage

Simply run the program from command line
```sh
coffeepy
```

By default the program runs indefinitely. Press `Ctrl-C` to quit

Optional: You can set the time in minutes with `-t` or `--time` flag. For example, to run the program for 1 hour, use

```sh
coffeepy -t 60
```
You can also disable animation with `-a` or `--no-animation` flag.
```sh
coffeepy -a
```
You can view the full parameter list with `-h` or `--help`.

## Python module

You can also import coffeepy as a python module

```python
import coffeepy

coffeepy.run()
```

Optional settings when run as a python module:

```python
import coffeepy

# you can also specify the time in minutes
# if no time is provided or time = 0, the program will run indefinitely
coffeepy.run(60)

# to disable animation when run as a module, you can set the second argument to True
coffeepy.run(0, True)
```


## License

This project is licensed under the MIT [License](https://github.com/kuvaus/coffeepy/blob/main/LICENSE)
image-analyst 0.2.1
ImageAnalyst is a library that simplifies image analysis.
Requires Python: >=3.9,<4.0
Keywords: image,analysis

# ImageAnalyst

ImageAnalyst is a library that simplifies image analysis. The library achieves this goal by standardizing the input and output
vectors of a few machine learning models and by providing some high-level analysis algorithms.

## Requirements

The application requires:

- [Python](https://www.python.org/) ~= 3.9
- [pip](https://pip.pypa.io/en/stable/)

## Extras

The application has some extras that can be installed:

- [cv2](https://github.com/BergLucas/ImageAnalystCV2)
- [hf](https://github.com/BergLucas/ImageAnalystHF)
- [tf](https://github.com/BergLucas/ImageAnalystTF)
- [onnx](https://github.com/BergLucas/ImageAnalystONNX)

## Download & Installation

There is two ways to download and install the application.

### Using PyPI

You can download and install the application using [PyPI](https://pypi.org/project/image-analyst/). To do so, run the following command:

```bash
pip install image-analyst
```

### Using the GitHub releases

You can download the application on the [downloads page](https://github.com/BergLucas/ImageAnalyst/releases). Then, you can install the application by running the following command:

```bash
pip install image_analyst-X.X.X-py3-none-any.whl
```

(Note: The X.X.X must be replaced by the version that you want to install.)

## Example

This example allows you to track objects from your webcam. It requires the `cv2` extra.

```python
from image_analyst.cv2.utils import convert_image, create_frame_generator
from image_analyst.cv2.models import YoloV3OpenCV
from image_analyst.trackers import IOUTracker
import cv2

def report_callback(filename: str, current_size: float, total_size: float):
    print("{} {:.2f}%".format(filename, current_size/total_size*100), end="\r", flush=True)

model = YoloV3OpenCV.coco(report_callback=report_callback)

tracking_function = IOUTracker(model)

with create_frame_generator(0) as frame_generator:
    for frame in frame_generator:
        converted_frame = convert_image(frame, model.supported_format, model.supported_dtype)
        instances = tracking_function(converted_frame)

        for instance in instances:
            xmin, ymin, xmax, ymax = instance.bounding_box.as_tuple()

            text = "{} {} {:.2f}".format(instance.id, instance.class_name, instance.score)
            cv2.rectangle(frame, (xmin, ymin), (xmax, ymax), (0, 255, 0), 2)
            cv2.putText(frame, text, (xmin, ymin), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 0), 2)

        cv2.imshow("Tracking", frame)

        if cv2.waitKey(1) & 0xFF == ord('q'):
            break

cv2.destroyAllWindows()
```

## License

All code is licensed for others under a MIT license (see [LICENSE](https://github.com/BergLucas/ImageAnalyst/blob/main/LICENSE)).
image-analyst-tf 0.2.0
ImageAnalyst TF is an extension to the ImageAnalyst library, providing additional models and functions using tensorflow.
Requires Python: >=3.9,<3.12
Keywords: image,analysis,tensorflow

# ImageAnalyst TF

ImageAnalyst TF is an extension to the [ImageAnalyst](https://github.com/BergLucas/ImageAnalyst) library, providing additional models and functions using [tensorflow](https://pypi.org/project/tensorflow/).

## Requirements

The application requires:

- [Python](https://www.python.org/) >=3.9, <3.12
- [pip](https://pip.pypa.io/en/stable/)

## Download & Installation

There is two ways to download and install the application.

### Using PyPI

You can download and install the application using [PyPI](https://pypi.org/project/image-analyst-tf/). To do so, run the following command:

```bash
pip install image-analyst-tf
```

### Using the GitHub releases

You can download the application on the [downloads page](https://github.com/BergLucas/ImageAnalystTF/releases). Then, you can install the application by running the following command:

```bash
pip install image_analyst_tf-X.X.X-py3-none-any.whl
```

(Note: The X.X.X must be replaced by the version that you want to install.)

## License

All code is licensed for others under a MIT license (see [LICENSE](https://github.com/BergLucas/ImageAnalystTF/blob/main/LICENSE)).
image-analyst-onnx 0.2.0
ImageAnalyst ONNX is an extension to the ImageAnalyst library, providing additional models and functions using onnx.
Requires Python: >=3.9,<4.0
Keywords: image,analysis,onnx

# ImageAnalyst ONNX

ImageAnalyst ONNX is an extension to the [ImageAnalyst](https://github.com/BergLucas/ImageAnalyst) library, providing additional models and functions using [onnx](https://pypi.org/project/onnxruntime/).

## Requirements

The application requires:

- [Python](https://www.python.org/) ~= 3.9
- [pip](https://pip.pypa.io/en/stable/)

## Download & Installation

There is two ways to download and install the application.

### Using PyPI

You can download and install the application using [PyPI](https://pypi.org/project/image-analyst-onnx/). To do so, run the following command:

```bash
pip install image-analyst-onnx
```

### Using the GitHub releases

You can download the application on the [downloads page](https://github.com/BergLucas/ImageAnalystONNX/releases). Then, you can install the application by running the following command:

```bash
pip install image_analyst_onnx-X.X.X-py3-none-any.whl
```

(Note: The X.X.X must be replaced by the version that you want to install.)

## License

All code is licensed for others under a MIT license (see [LICENSE](https://github.com/BergLucas/ImageAnalystONNX/blob/main/LICENSE)).
image-analyst-hf 0.2.0
ImageAnalyst HF is an extension to the ImageAnalyst library, providing additional models and functions using huggingface.
Requires Python: >=3.9,<3.12
Keywords: image,analysis,huggingface

# ImageAnalyst HF

ImageAnalyst HF is an extension to the [ImageAnalyst](https://github.com/BergLucas/ImageAnalyst) library, providing additional models and functions using [huggingface](https://pypi.org/project/transformers/).

## Requirements

The application requires:

- [Python](https://www.python.org/) >=3.9, <3.12
- [pip](https://pip.pypa.io/en/stable/)

## Download & Installation

There is two ways to download and install the application.

### Using PyPI

You can download and install the application using [PyPI](https://pypi.org/project/image-analyst-hf/). To do so, run the following command:

```bash
pip install image-analyst-hf
```

### Using the GitHub releases

You can download the application on the [downloads page](https://github.com/BergLucas/ImageAnalystHF/releases). Then, you can install the application by running the following command:

```bash
pip install image_analyst_hf-X.X.X-py3-none-any.whl
```

(Note: The X.X.X must be replaced by the version that you want to install.)

## License

All code is licensed for others under a MIT license (see [LICENSE](https://github.com/BergLucas/ImageAnalystHF/blob/main/LICENSE)).
image-analyst-cv2 0.2.0
ImageAnalyst CV2 is an extension to the ImageAnalyst library, providing additional models and functions using cv2.
Requires Python: >=3.9,<4.0
Keywords: image,analysis,cv2

# ImageAnalyst CV2

ImageAnalyst CV2 is an extension to the [ImageAnalyst](https://github.com/BergLucas/ImageAnalyst) library, providing additional models and functions using [cv2](https://pypi.org/project/opencv-python/).

## Requirements

The application requires:

- [Python](https://www.python.org/) ~= 3.9
- [pip](https://pip.pypa.io/en/stable/)

## Extras

The application has some extras that can be installed:

- `cv2`
- `cv2-headless`

## Download & Installation

There is two ways to download and install the application.

### Using PyPI

You can download and install the application using [PyPI](https://pypi.org/project/image-analyst-cv2/). To do so, run the following command:

```bash
pip install image-analyst-cv2
```

### Using the GitHub releases

You can download the application on the [downloads page](https://github.com/BergLucas/ImageAnalystCV2/releases). Then, you can install the application by running the following command:

```bash
pip install image_analyst_cv2-X.X.X-py3-none-any.whl
```

(Note: The X.X.X must be replaced by the version that you want to install.)

## License

All code is licensed for others under a MIT license (see [LICENSE](https://github.com/BergLucas/ImageAnalystCV2/blob/main/LICENSE)).