An open API service indexing awesome lists of open source software.

https://github.com/c1m50c/greyscale-image

Learning application to greyscale an image.
https://github.com/c1m50c/greyscale-image

cli cv2 grayscale grayscale-image greyscale greyscale-image images mit-license opencv opencv-python python python3 rust

Last synced: 3 months ago
JSON representation

Learning application to greyscale an image.

Awesome Lists containing this project

README

        

# **greyscale-image**
![Rust Build Status](https://img.shields.io/github/workflow/status/c1m50c/greyscale-image/Rust?label=Rust%20Build&style=for-the-badge)
![GitHub License](https://img.shields.io/github/license/c1m50c/greyscale-image?color=blue&style=for-the-badge)
![Lines of Code](https://img.shields.io/tokei/lines/github/c1m50c/greyscale-image?style=for-the-badge)

Learning application to greyscale an image.

![Cover Image](cover.gif)

## **Running**

Python 🐍
Currently supports .jpg files only.

### **Installing Requirements**
```bash
$ cd greyscale-image
$ pip install -r ./requirements.txt
```

### **Running**
```bash
$ cd greyscale-image
$ python3 src/python/main.py [INPUT_FILE_PATH]
# Output will be `output.jpg`
```

Rust 🦀

### **Building & Running**
```bash
$ cd greyscale-image
$ cargo build --release
$ ./target/release/greyscale-image [INPUT_FILE_PATH] [OUTPUT_FILE_PATH]
```