semvec/pypi-packages huggingface dataset:
inyourface 0.0.16
In Your Face
License: MIT License
Keywords: dumb gifs juggalos clowns

In Your Face
------------

A handful of low-rent animations layered atop all the faces in your
image. Uses Google Vision API for face/feature detection, and gifsicle
for makin’ gifs.

Usage
~~~~~

::

    Usage: inyourface [OPTIONS]

    Options:
      --url TEXT                 Url of the input image to be manipulated
                                 [required]
      -e, --effect TEXT          The effect to apply, can specify multiple with -e
                                 effect1 -e effect2  [required]
      --google_credentials TEXT  Location of google API credentials json file.
      --image_directory TEXT     Where to put finished images.
      --help                     Show this message and exit.

Effects
~~~~~~~

========  ========  ===========
Angry     Crying    Cryingblood
|image0|  |image1|  |image2|
Googly    Thinking  Juggalo
|image3|  |image4|  |image8|
========  ========  ===========


Effect Combinations
~~~~~~~~~~~~~~~~~~~

Angry + Googly + Cryingblood
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

|image6|

Googly + Thinking on a gif
^^^^^^^^^^^^^^^^^^^^^^^^^^

|image7|

Requirements
~~~~~~~~~~~~

1. ``gifsicle`` https://www.lcdf.org/gifsicle/

2. An account setup with the Google Vision API, and your credentials
   file ``google-credentials.json`` file somewhere that ``inyourface``
   can get to it.

.. figure:: https://travis-ci.org/yacomink/inyourface.svg?branch=master
   :alt: build status

   build status

.. |image0| image:: https://github.com/yacomink/inyourface/blob/master/examples/63d1c91a84f90cbf3978a7c9936cc966876ab1a0.gif?raw=true
.. |image1| image:: https://github.com/yacomink/inyourface/blob/master/examples/dfa3376f7075094f951cfb808eb530bffde9f930.gif?raw=true
.. |image2| image:: https://github.com/yacomink/inyourface/blob/master/examples/c050d3929b14252276557d4d72ca395bf92f597d.gif?raw=true
.. |image3| image:: https://github.com/yacomink/inyourface/blob/master/examples/0500b8896bee27f4db798a1c1d9a0e1d1d9a0784.gif?raw=true
.. |image4| image:: https://github.com/yacomink/inyourface/blob/master/examples/0969445f8dcd57fde556b9a7fb0018c44dbb9c44.gif?raw=true
.. |image5| image:: https://github.com/yacomink/inyourface/blob/master/examples/0500b8896bee27f4db798a1c1d9a0e1d1d9a0784.gif?raw=true
.. |image6| image:: https://github.com/yacomink/inyourface/blob/master/examples/2fecff2f9f51066c704fdeb16298873825f29579.gif?raw=true
.. |image7| image:: https://github.com/yacomink/inyourface/blob/master/examples/c4a82e74e0c35c71414693446d1fe49ce4288585.gif?raw=true
.. |image8| image:: https://snaps.yacomink.com/m/Image_2017-12-14_11-21-10.png
osm-clipper 0.1.0
Small python tool to clip pre-defined areas from the planet osm file.
License: MIT License

[![PyPI version](https://badge.fury.io/py/osm-clipper.svg)](https://badge.fury.io/py/osm-clipper)

# OpenStreetMap clipper
Small python tool to clip pre-defined areas from large osm.pbf files, using [osmconvert](https://wiki.openstreetmap.org/wiki/Osmconvert) or [osmosis](https://wiki.openstreetmap.org/wiki/Osmosis). 

The tool is at the moment specifically written to split OpenStreetMap *Protocolbuffer Binary Format* (**PBF**) files into a set of countries and/or regions, based on the [GADM36](https://gadm.org/) classification. Future versions will allow for user-defined regional classifications as well.  

**Please note:** This package is still in development phase. In case of any problems, or if you have any suggestions for improvements, please raise an *issue*. 

## Installation

1. Open the python environment in your command prompt or bash in which you want to install this package.
2. Type ``pip install osm-clipper`` and it should install itself into your python environment.
3. Now you can import the package like any other package!

OR:

1. Clone the repository or download the package on your computer and extract the folder.
2. Go to the osm_clipper folder in your command prompt or bash.
3. Type ``python setup.py install`` and it should install itself into your python environment.
4. Now you can import the package like any other package!

## Dependency on osmcovert or osmosis
In essence, *osm_clipper* is just a wrapper around **osmconvert** and **osmosis**. To make it work, make sure you add either osmconvert or osmosis to your environmental variables. 

### How to set environmental variables on Windows:
1. Search for *Edit the System Environmental Variables* and click on it.
2. Click on the *Environmental Variables* button.
3. Search in your System variables for **Path**.
4. Click on the *New* button and add the location of **osmconvert** and/or **osmosis**.

NOTE: the default is **osmconvert**. If you want to use osmosis, specify **osmconvert==False** in the *single_countries* or *all_countries* functions.

### License
Copyright (C) 2020 Elco Koks. All versions released under the [MIT license](LICENSE).


![IVM](http://ivm.vu.nl/en/Images/IVM_logo_rgb2_tcm234-851594.svg)