README.md

# BiometricsFacade

An Elixir API facade for the biometrics server.

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:

  1. Add biometrics_facade to your list of dependencies in `mix.exs`:

        def deps do
          [{:biometrics_facade, "~> 0.0.1"}]
        end

  2. Ensure biometrics_facade is started before your application:

        def application do
          [applications: [:biometrics_facade]]
        end

## Usage

### Configuration

    config :biometrics_facade, BiometricsFacade.Service,
      base_uri: "http://some_uri"

### Facial Recognitions

    case BiometricsFacade.FacialRecognitions.Create.submit( "/path/to/image1", "/path/to/image2") do
      {:ok, resp} -> 
        resp 
      {:error, error} -> 
        error
    end