tru_face v0.1.2 TruFace.Workers.Detective View Source

Detective module provides functions for face detection with a Generic Server behavior.

Link to this section Summary

Link to this section Functions

Link to this function create_collection(name) View Source
create_collection(String.t) :: {:ok, String.t} | {:error, map}
Link to this function enroll(images, name) View Source
enroll(list, String.t) :: {:ok, String.t} | {:error, map}
Link to this function identity(raw_image, cid) View Source
identity(binary, String.t) :: {:ok, String.t} | {:error, map}
Link to this function match?(raw_image, eid) View Source
match?(binary, String.t) :: {:ok, String.t} | {:error, map}
Link to this function train(cid) View Source
train(String.t) :: {:ok, String.t} | {:error, map}
Link to this function update(images, eid) View Source
update(list, String.t) :: {:ok, String.t} | {:error, map}
Link to this function update_collection(eid, cid) View Source
update_collection(String.t, String.t) ::
  {:ok, String.t} |
  {:error, map}