Comments (5)
same happens to me
from smart-security-camera.
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.
@icerchill do you have any idea as to what to exactly add?
from smart-security-camera.
@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.
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)
- Captive credentials issue
- Not able to recognized the face or body
- I can't download Opencv
- Email in black in white
- Stream Login Data HOT 1
- USB webcam support HOT 1
- sends email only once
- change frequency of sending email
- how to get frame around object in live video feed HOT 4
- videocamera has no attribute vs and others
- <stdlib.h>
- Question! IP Camera Support HOT 1
- CPU Usage HOT 1
- Detail Alarm
- Error Sending Email
- No module named cv2
- Buster version
- Can't find Raspbian Jessie
- I think my Neighboor's hacked me HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart-security-camera.