Skip to content

linkernetworks/vision_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vision API

This is an API that given a picture and it returns objects labels, positions, and confidences.

Getting started

sh build.sh
export FLASK_APP=api.py
flask run

Example

Input:

Output:

[{'bottomright': {'x': 1846, 'y': 1890},
  'confidence': 0.51838398,
  'label': 'person',
  'topleft': {'x': 988, 'y': 85}},
 {'bottomright': {'x': 2311, 'y': 3372},
  'confidence': 0.60397381,
  'label': 'cat',
  'topleft': {'x': 1135, 'y': 1512}}]

TODO

  • Get dockerized
  • Example case and testing
  • API request sample

About

sample code for NTU class use, example 01

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published