Skip to content

Classify images with RPi and Intel NCS and show on a web server

License

Notifications You must be signed in to change notification settings

fvalle1/ai_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI

browser.jpg

Requirements

  • openvino
  • openCV
  • Flask

Hardware

A webcam is required

It can be useful to have an Intel© Neural Compute Stick

Model

You can download inception-v4 model from https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html

Settings

def __init__(self):
      self.model = 'inception-v4.xml'
      self.device = 'MYRIAD'
      self.number_top = 10
      self.input=['input.jpg']
      self.load_model()

Change here the device, the model's name or the number of categories to show

Run

python server.py