ChatSam / Weapons_detection_immich

Weapons detection feature based on the immich self-hosted photo and video hosting platform.

Home Page:https://immich.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change Weapon Detection Response Object

thelastmattstanding opened this issue · comments

Currently images are sent as base-64 images. Additionally, with a desire to send videos to the front-end for rendering, it may be wise to use a different method to return images and videos for consumption.

Proposal:

  1. Mount a shared volume between ML and backend server.
  2. Store predicted results (image or video) from ML model to shared volume and pass file paths to image and video in response.

closed with 8badd16 and 1c68f5a.