Comments (3)
What you can do is instead of sending an alert (sms or mail) u can create a file like log.txt and keep the log(Writing the file) of the detected objected as there might be cases where some irrelevant object/noise is detected and u dont want your phone spammed with those messages.
but if u still want to send an email... try this link:https://www.geeksforgeeks.org/send-mail-gmail-account-using-python/
it has the python program to send email. u can integrate this in the files.
from object-detection-api.
Yes i want to do this but why can i integrate this ? i have .py file which can send mail correctly buy i don't know how to execute the file when it detect object
from object-detection-api.
U can write the write that code (of mail generation) into a function in the same file. So now u can import that function from that file and use it.
Eg.. If the name of your file is filename and u named the function as func. So do this in the file u want to integrate..
from filename import func
and use the function like
func()
or
func(parameters)
from object-detection-api.
Related Issues (20)
- modulenofounderror
- error when i run "app.py" cuda error. I'm in a hurryyyy!!!!!!!!!!!!!!!
- Object Detection API for YoloV4 HOT 5
- what happened to the generated label .txt files?
- DuplicateFlagError: The flag 'classes' is defined twice. First from /usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py, Second from /usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py. Description from first occurrence: path to classes file
- ImportError: No module named yolov3_tf2.models HOT 1
- ValueError: cannot reshape array of size 324670 into shape (512,256,3,3) HOT 1
- Production server error
- Adding a new class to a pretrained custom model
- ValueError: Memory growth cannot differ between GPU devices
- API for YOLOv4 HOT 1
- Detect video error
- ValueError: cannot reshape array of size 4607 into shape (18,256,1,1) HOT 1
- Performance issue in the definition of transform_targets_for_output, yolov3_tf2/dataset.py(P1)
- Production Server Error
- ModuleNotFoundError: No module named 'tensorflow.keras' HOT 1
- How to Extract Pixel Values from Detections
- Very weak results with Tiny YOLOv3 weights HOT 1
- Unable to convert files to tf but no error is displayed
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 object-detection-api.