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

https://github.com/netromdk/blurator

Blurator
https://github.com/netromdk/blurator

Last synced: 9 months ago
JSON representation

Blurator

Awesome Lists containing this project

README

          

blurator
========

Blurator blurs faces and plates in pictures very efficiently.

Requirements
============

A C++11 compliant compiler (GCC 4.7+, Clang 3.3+, Visual Studio 2012+ etc.), CMake 3+,
Qt 5.3+, and OpenCV 2.4+.

Additional for Mac: Python 3+

Additional for Linux: [patchelf](http://nixos.org/patchelf.html)

Additional for Windows: Java (jar executable)

Compilation
===========

To compile the source code and link the binaries do the following:

1. Extract source and go into the diretory.
2. `mkdir build`
3. `cd build`
4. `cmake ..`
5. `make`

This produces the release version binary in the *bin* folder: blurator

For debugging purposes swap out the `cmake ..` command with `cmake
-DCMAKE_BUILD_TYPE=Debug ..`.

On Windows Qt requires ICU in most cases so define `-DICU_BIN_DIR=`
when invoking cmake. If you compiled Qt without ICU then you can use `-DNO_ICU=1`.

Testing
=======

In order to run our test suite you must do the following:

1. `cmake -DENABLE_TESTING=YES ..`
2. `make`
3. `make test`

It will run all tests and show the results.

Usage
=====

```
Usage: blurator [options] paths..
Blur license plates and faces.

Supported image formats: jpg, png, tiff

Options:
-h, --help Displays this help.
-v, --version Displays version information.
-f, --faces Detect faces.
-p, --plates Detect license plates.
-y, --yes Automatically reply "yes" to all questions.
-n, --no Automatically reply "no" to all questions.
--verbose Shows extra information.
--no-backup Don't store a backup of the original image.

Arguments:
paths Paths to images.
```