KichangKim / DeepDanbooru

AI based multi-label girl image classification system, implemented by using TensorFlow.
MIT License
2.58k stars 258 forks source link

Allow running as a HTTP service #101

Open abrenoch opened 10 months ago

abrenoch commented 10 months ago

This PR would allow running DD in a 'server' mode to accept HTTP requests to evaluate images.

The motivation here is to leverage DD as a resource for other applications/services to tag images as needed:

deepdanbooru serve --project-path "<dd-project>" --host 0.0.0.0

Supports arguments:

Still a little bit of work to do (like supporting SSL certificates), but wanted to open a draft.