Notifications
Clear all

Obico ML API without anything else  

  RSS
_KaszpiR_
(@_kaszpir_)
Honorable Member
Obico ML API without anything else

So I've been looking at Obico (formerly known as The Spaghetti Detective) and decided to extract their ML API app as standalone to wrap it with my custom scripts. This way I can have specific use case to use just their ML API to detect print issues, while the everything around is done on my own (and thus not being limited by the all the software created by Obico team around the ML API).

If you know you may need to use something like that (Node-RED users?) then head to https://github.com/nvtkaszpir/3d-print/blob/main/obico-ml-api-only/README.md

If you have any questions then feel free to ask.

 

See my GitHub and printables.com for some 3d stuff that you may like.

Publié : 13/03/2024 10:23 pm
_KaszpiR_
(@_kaszpir_)
Honorable Member
Topic starter answered:
RE: Obico ML API without anything else

I've added option to save detections as json file and as image, (totally forgot to commit it to git repo earlier XD )

See my GitHub and printables.com for some 3d stuff that you may like.

Publié : 24/03/2024 8:24 pm
_KaszpiR_
(@_kaszpir_)
Honorable Member
Topic starter answered:
RE: Obico ML API without anything else

If someone interested, small update:
- added option to render detections on the image and also ignore regions from detections.

Also, added example node-red flow.

url to the repo in the first post.

See my GitHub and printables.com for some 3d stuff that you may like.

Publié : 21/04/2024 6:28 pm
droidik a aimé
droidik
(@droidik)
Membre
RE: Obico ML API without anything else

Nice work!
I'm working on a similar idea - Obico ML inside a Home Assistant, so you can integrate it with the existing Camera entity, HA notifications, etc. 

https://github.com/nobodyguy/obico_ml_ha_addon (HA Addon)

HA integration will be published within a few days.

Publié : 12/09/2024 11:12 pm
_KaszpiR_
(@_kaszpir_)
Honorable Member
Topic starter answered:
RE: Obico ML API without anything else

Very nice, if you could please add an option not to run obico ml api model with it, but just provide an endpoint for obico ml api (just if someone already has it), that would be great 😉

See my GitHub and printables.com for some 3d stuff that you may like.

Publié : 13/09/2024 8:45 pm
droidik
(@droidik)
Membre
RE: Obico ML API without anything else

Do you mean to have an option not to include the default model weights or to skip the whole ML API container?

Publié : 14/09/2024 9:43 am
_KaszpiR_
(@_kaszpir_)
Honorable Member
Topic starter answered:
RE: Obico ML API without anything else

I would split into two:
- home assistant plugin with with a setting to set obico api url
- additional container with obico api

not sure if this is possible with the HA plugins, though.

See my GitHub and printables.com for some 3d stuff that you may like.

Publié : 14/09/2024 6:39 pm
droidik
(@droidik)
Membre
RE: Obico ML API without anything else

Yes, that's the plan.
HA Addon (Docker container) with the Obico ML REST API server and HA Integration (Python bridge code) that calls the REST API and implements HA entities.

Publié : 14/09/2024 7:06 pm
_KaszpiR_
(@_kaszpir_)
Honorable Member
Topic starter answered:
RE: Obico ML API without anything else

Ah good, then.

Also this reminds me to expand my current code to report detail about the passed custom headers such as camera id, to be able to generate more detailed statistics and message for notification. Well, maybe somewhere in the upcoming week, though.

See my GitHub and printables.com for some 3d stuff that you may like.

Publié : 15/09/2024 1:32 pm
Partager :