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

https://github.com/pinto0309/automaticimagemask

A tool to mask hard copies of Ubuntu terminals with specified keywords.
https://github.com/pinto0309/automaticimagemask

google-cloud-vision opencv python

Last synced: about 2 months ago
JSON representation

A tool to mask hard copies of Ubuntu terminals with specified keywords.

Awesome Lists containing this project

README

          

# AutomaticImageMask
A tool to mask hard copies of terminals with specified keywords.

https://qiita.com/PINTO/items/58f9259fa30bb65f895c

# ◆ Environment

・Ubuntu 16.04

・Python

・OpenCV3.x

・Google Cloud Vision API https://cloud.google.com/vision/

# ◆ How to use

```
$ git clone https://github.com/PINTO0309/AutomaticImageMask.git
$ cd AutomaticImageMask
$ python3 AutomaticImageMask.py [Cloud Vision API Key] [Image File Name] [Keyword for Mask]
```

# ◆ Execution Sample

```
$ python3 AutomaticImageMask.py xxxx sample.png raspberrypi
```

*Before [sample.png]

![Before](https://github.com/PINTO0309/AutomaticImageMask/blob/master/sample.png)

*After [masked.png]

![After](https://github.com/PINTO0309/AutomaticImageMask/blob/master/maskedsample.png)

*Other Sample

![Before](https://github.com/PINTO0309/AutomaticImageMask/blob/master/other1.png)
![After](https://github.com/PINTO0309/AutomaticImageMask/blob/master/other1masked.png)
![Before](https://github.com/PINTO0309/AutomaticImageMask/blob/master/other2.png)
![After](https://github.com/PINTO0309/AutomaticImageMask/blob/master/other2masked.png)