Giter Site home page Giter Site logo

Comments (5)

matancarmeli7 avatar matancarmeli7 commented on September 8, 2024

same happens to me

from smart-security-camera.

icerchill avatar icerchill commented on September 8, 2024

the problem is because only the frame return from get_object() get painted in green rectangle check_for_objects() function, which I guess author's purpose is to only send email detection rectangle?
if you want to see the green grid in realtime you need to modify the code a little bit in gen() function to yield the returned frame. A simple if statement should do the trick.

from smart-security-camera.

AWadehra avatar AWadehra commented on September 8, 2024

@icerchill do you have any idea as to what to exactly add?

from smart-security-camera.

icerchill avatar icerchill commented on September 8, 2024

@icerchill do you have any idea as to what to exactly add?

so the video_camera.get_object(object_classifier) function inside check_for_objects_and_notify() will return the exact detected "green grid" frame with and a boolean tuple(frame and boolean).
so if you put this line inside the get() function. check for this boolean and use the returned frame to yield then it renders that green frame if found_obj is true on the web.
its really depend how you want to implement, the catch is the video_camera.get_object() returns THE actual frame detection frame. In the author's code it just renders every frame that camera captures.

from smart-security-camera.

prajwal2319 avatar prajwal2319 commented on September 8, 2024

Try to change the cascade classifiers in models section , there are many other classifiers in opencv libraries which you can use.

from smart-security-camera.

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.