SharpAI: open source camera based local intruder detection for Home-Assistant

Intrusion detection AI camera with Home-Assistant

0. Install sharpai-cli https://github.com/SharpAI/DeepCamera

1. Local deployment is supported now by

sharpai-cli local_deepcamera start

Based on the feedback collected from previous post, we learned local deployment for AI based intruder detection application which leverages private data to understand threat level is very important requirement. To easy the deployment pain point, we published sharpai-hub command line tool to support local deployment, then you can labelling face and train model to detect intruder on your own device. After setup done, everything work locally even without an internet connection.
We want to continually improve SharpAI intruder detection, please let’s know your feedback.

2. Land-on Home-Assistant with URL: http://localhost:8123

3. Add your Camera through Home-Assistant camera integration

4. Added SharpAI configuration to configuration.yaml

stream:
  ll_hls: true
  part_duration: 0.75
  segment_duration: 6

image_processing:
  - platform: sharpai
    source:
      - entity_id: camera.<camera_entity_id>
    scan_interval: 1

5. Access detection result on http://localhost:3000

6. Integration with Home-Assistant

Who looks at my images?

Who can look at my images. FBI?

If you setup your local server, only you look into your image.

and why http://dp.sharpai.org:3000/ is not protected with ssl?
also do you offer 2fa?

I will deploy ssl and thanks for the suggestion, 2FA will be there, too.

Any chance of a Home Assistant addon?

@tom_l We need learn how to make a Home Assistant addon to process video stream, it will be better than using configuration.yaml to add it. Do you know which is the best reference to learn from?

I meant for deploying the server. The integration is fine as it is.

It’s possible to deploy server as add-on with x86 host, we will look into how to make an addon. The issue will be arm64 and i386 platform.

You are not required to support all hardware. There are official and community addons that do not work on one hardware platform or another.

@tom_l That’s great, I’ll use one addon as example to make the addon, when we have the working version, should I send the github repo to you for official integration?

I certainly wouldn’t worry about i386 :slight_smile:

1 Like

No. I am just a lowly a forum moderator, not part of the development team.

Please help to test when we have the early version :slight_smile:

Local deployment is supported now

sharpai-cli local_deepcamera start

Based on the feedback collected from previous post, we learned local deployment for AI based intruder detection application which leverages private data to understand threat level is very important requirement. To easy the deployment pain point, we published sharpai-hub command line tool to support local deployment, then you can labelling face and train model to detect intruder on your own device. After setup done, everything work locally even without an internet connection.
We want to continually improve SharpAI intruder detection, please let’s know your feedback.