Coder Social home page Coder Social logo

doods2's People

Contributors

sammy1am avatar snowzach avatar vipas-ana avatar

doods2's Issues

MQTT Image Cropping as a class/function

MQTT image cropping happens sort of inline with other MQTT processing, but would be cleaner in its own class/function (class to store the original detected, decoded image in case multiple crops need to be made).

Connect multiple MQTT detections with same frame

Currently each object detected is published to MQTT separately, so there's no way to tell if e.g. there were two people detected in frame, or one person detected twice over two frames.

  • Adding some sort of frame serial number might allow MQTT consumers to group these detections together.
  • Alternatively, detections could be grouped into a single JSON message for publishing. This makes it more difficult for consumers to determine simply questions like "was a person detected in this region" since they would have to parse out the various detected objects first. On the other hand, it makes it way easier to answer questions like "how many people are here". This would make cropped images harder to associate though unless we move to providing images as base64 encoded within JSON responses (instead of binaries in the MQTT stream), which might break Home Assistant integration.

The latter option would be a breaking change, but if I change it soon hopefully doesn't break too many peoples' things.

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.