Azure / KAN

KubeAI Application Nucleus for edge is a solution accelerator for creating, deploying, and operating environment-aware solutions at scale that use artificial intelligence (AI) at the edge with the control and flexibility of open-source natively on your environment.
MIT License
76 stars 19 forks source link

Make KAN agent image configurable #240

Closed Haishi2016 closed 1 year ago

Haishi2016 commented 1 year ago

Since we can't package ffmpeg with the agent, camera preview isn't working in the current version. We'll offer users to use a community-contributed agent image (in addition to add instructions to build a custom agent image). We'll also start to provide a variety of agent images so that users can choose to use a lighter agent for their specific scenarios.

This requires the KAN portal to take in the agent image name as a parameter when running the installer script. Basically, the script should state: "We need to use a KAN agent to capture camera thumbnails, which requires the use of ffmpeg. However, the default KAN agent Docker image does not include ffmpeg. Please choose: 1) Use the default agent without camera thumbnail feature; 2) Use a community-contributed image from hbai/kan-agent:\<version> that supports the thumbnail feature.

Then, the image name is injected into KAN portal as a parameter.