Hawkeye (1.0.0)

Download OpenAPI specification:Download

License: MIT

Detect images in a video stream and execute automated actions.

List all watchers

Responses

Response samples

Content type
application/json

A list of Wachers as it is returned by the API.

[]

Create a new Watcher

Request Body schema: application/json
description
string

A human readable description of the watcher.

slate_url
required
string <uri>

The slate image url, needs to be publicly accessible.

required
object

Sepecify the video source configurations.

required
Array of objects

Responses

Request samples

Content type
application/json

A valid JSON payload that can be used to create a Watcher.

{}

Response samples

Content type
application/json
{
  • "id": "string",
  • "status": "ready",
  • "status_description": "string",
  • "source": {
    },
  • "description": "string",
  • "slate_url": "http://example.com",
  • "transitions": [
    ]
}

Get a Watcher

path Parameters
watcher_id
required
string

The Watcher ID.

Responses

Response samples

Content type
application/json

Watcher that is returned by the API.

{}

Delete a Watcher

path Parameters
watcher_id
required
string

The Watcher ID.

Responses

Response samples

Content type
application/json
{
  • "message": "string"
}

Start the Watcher

path Parameters
watcher_id
required
string

The Watcher ID.

Responses

Response samples

Content type
application/json
{
  • "message": "string"
}

Stop the Watcher

path Parameters
watcher_id
required
string

The Watcher ID.

Responses

Response samples

Content type
application/json
{
  • "message": "string"
}

Latest video frame

Expose the latest video frame the Watcher has captured.

path Parameters
watcher_id
required
string

The Watcher ID.

Responses