Smart-Security-Camera | IoT security camera running open-cv for object | Computer Vision library
kandi X-RAY | Smart-Security-Camera Summary
kandi X-RAY | Smart-Security-Camera Summary
IoT security camera running open-cv for object detection
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return a PNG image for the given classifier
- Flips the frame if needed
- Convert to PNG
Smart-Security-Camera Key Features
Smart-Security-Camera Examples and Code Snippets
Community Discussions
Trending Discussions on Smart-Security-Camera
QUESTION
To start off, I am a complete noob to Debian, Python, and shell scripts, so please speak to me like I am a toddler.
I have a python script I am running through a virtualenv, and I want to execute it via a shell script. Here is what I'm typing in to the terminal to do so:
source .profile
workon cv
cd Desktop/Camera
python main.py
I tried turning this into a shell script, but I receive the error -- source: not found
I've found no answer to my problem, at least not in any terms I can understand. Any advice would be appreciated. Furthermore, before you answer, I also have no idea why it is I need to execute source .profile
, I'm simply following a beginner guide for the project which can be found here: https://www.hackster.io/hackerhouse/smart-security-camera-90d7bd
Thanks in advance, and sorry if this is a dumb question.
...ANSWER
Answered 2017-Dec-06 at 20:30Add a hashbang at the top of your script (should be the first line):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Smart-Security-Camera
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page