robmarkcole / tensorflow-lite-rest-server

Expose tensorflow-lite models via a rest API using FastAPI
Apache License 2.0
76 stars 21 forks source link

Support Coral USB Accelerator #21

Open Nexulo opened 4 years ago

Nexulo commented 4 years ago

Is the USB stick not supported (Why not?)? Will the (optional?) support come in the future?

robmarkcole commented 4 years ago

I did that in https://github.com/robmarkcole/coral-pi-rest-server It is not necessary for my use cases. Keeping this issue open as I am sure it will be asked again

wjcloudy commented 4 years ago

Was guided here by the coral-pi-rest-server (deprecated) - have you dropped coral support entirely?

robmarkcole commented 4 years ago

I might add it in a branch, this whole repo is for experimentation

wibimaster commented 4 years ago

Ahah, was redirect here from deprecated repository too, when looking for face recognition with Coral USB ;) Hope you can do it soon ! :D

robmarkcole commented 4 years ago

I am thinking about processing video feeds again, so might consider this

jazzmonger commented 3 years ago

@robmarkcole, I see this new Deepstack deposit on .github just appeared 2 days ago

https://github.com/johnolafenwa/DeepStack

Any chance we will get a docker container that supports our Coral stick that can be called from home assistant without having to wedge the rest server you wrote onto Linux?

I did this port of your server and it works, but it's not optimal... Docker would be way better.

https://community.home-assistant.io/t/image-object-detection-w-google-coral-on-intel-nuc/208248

robmarkcole commented 3 years ago

@jazzmonger the issue is that Coral, which uses TensorFlow-lite, is incompatible with the Pytorch approach we have taken in the rest of Deepstack. Feel free to continue this discussion on the Deepstack issue https://github.com/johnolafenwa/DeepStack/issues/36

fgonza2 commented 3 years ago

Any chance this will work on Intel NCS2?

robmarkcole commented 3 years ago

@fgonza2 similar to my reply re deepstack, I believe NCS2 uses intel specific modes, not tflite

robmarkcole commented 3 years ago

I've unarchived the coral repo, so people can make PR to add functionality