-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I am currently writing the "Pflichtenheft" (as we have to for the practical). I think the mediseg project should have its own executable. This program should start and load the model before we feed it with images to reduce latency. We could use a web service approach as with sst before, but that is not so clean. Cleaner would be a system service.
I found a couple of sources how to create a Python service:
- PEP 3143 -- Standard daemon process library
- How to make a Python script run like a service or daemon in Linux
- How to make Python script run as service?
However, I'm currently not quite sure how to call the service and give it parameters.
Essentially, I am thinking of the following workflow:
- User (or system) starts the
medisegddaemon - Daemon loads model, makes as much as possible and keeps the important stuff in memory.
- User calls
mediseg --input image.jpg --output segmentation.jpgas often as he wants with little latency
Metadata
Metadata
Assignees
Labels
No labels