Giter VIP home page Giter VIP logo

Comments (6)

jakowenko avatar jakowenko commented on May 14, 2024 1

The images in my screenshot really read from right to left with the percentages I posted. The left one was red at 100% because I set the value in the config to 101, so any images less than 101% are not considered a match.

When a match is found from a detector the confidence value from that result is compared with the one set in the config. For example, if a result comes back from CompreFace with a percent of 50%, then this value is compared with the one set in the config to determine if the result should be considered a match. The red/green in the UI is based off the image being considered a "match" from each detector.

Based on your suggestion from #38, I'm going to drop the HA direct API integration in favor of MQTT with a retain flag. I already have the updates ready and I'm about to push up the beta build. It's really nice to have the state in HA with restarts now.

from double-take.

Raphael909 avatar Raphael909 commented on May 14, 2024 1

@jakowenko , sorry man, my PSU failed on me the other day so never got it tested . It is on the way but anyways I will close this issue for now.
Thank your again!

from double-take.

jakowenko avatar jakowenko commented on May 14, 2024

Hey @Raphael909, I have a new beta build to fix the MQTT snapshots not honoring the Frigate camera config. Good catch on that, I missed it when adding in that feature.

I haven't been able to reproduce the confidence issue you are describing. Can you double check your config and post what you have here for that section? I tested the following image three times. First with 50% confidence, then 95%, then 101% just to make sure no matches were returned. The results from each attempt reproduced the right color on the UI.

Screen Shot 2021-06-06 at 8 54 59 PM

I'm on the most recent version of HA and entitles are still being published for me. Are you still experiencing issues?

from double-take.

Raphael909 avatar Raphael909 commented on May 14, 2024

Thank you for the quick fix . Part of the config:

mqtt:
  host: 192.168.xx.xx
  username: "mqtt"
  password: "xxxxx"
  topics:
    frigate: frigate/events
    matches: double-take/matches
    cameras: double-take/cameras

home_assistant:
  url: http://192.168.xx.xx:8123
  token: ${token}
confidence:
  match: 95
  unknown: 60

objects:
  face:
    min_area_match: 10000

save:
  matches: true
  unknown: true

purge:
  matches: 8
  unknown: 8

frigate:
  url: http://192.168.xx.xx:5000
  image:
    height: 500
  attempts:
    latest: 2
    snapshot: 0
  cameras:
    - doorbell
    - garage
    - driveway
  • Looks like I might have wrong understanding of how UI works... Your first image from the test has marked compreface as red for David 100% but in the rest it is marked green. I thought % is confidence level from compreface.
  • for some reason I still don't see entities getting update in HA. In fact, I no longer see entity with sensor_double_take_xxx.
  • Also, I don't get Mqtt updates . hmm something is not happy in my setup it seems.

from double-take.

jakowenko avatar jakowenko commented on May 14, 2024

@Raphael909 am I good to close this or are you still having issues?

from double-take.

jakowenko avatar jakowenko commented on May 14, 2024

No worries, thank you. Hope you get that PSU fixed soon 🤞

from double-take.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.