mickey1356 / 1d-final Goto Github PK
View Code? Open in Web Editor NEW1D Final Project for SUTD Digital World 2019
1D Final Project for SUTD Digital World 2019
RASPBERRY PI CAMERA SETUP 1) Place the folder RASPI_CAM into a Raspberry Pi 2) Ensure that the Pi is connected to a camera 3) Install the required packages using "pip install -r camera_req.txt" 4) Edit settings.txt. More information as provided: url should be a valid firebase url apikey should be the api key for the aforementioned firebase base_dir is where the image recognition weights are stored (default is same directory as camera.py) min_confidence is a float between 0 and 1 (default 0.5) min_threshold is a float between 0 and 1 (default 0.3) rotation is the rotation adjustment for the Raspberry Pi camera rm_no is the room number is <block><floor> format debug is True if you want to save analysed images for debugging purposes (default False) 5) Run the python file using "python3 camera.py" RASPBERRY PI MOTION SENSOR SETUP 1) Place the folder RASPI_MOTION into a Raspberry Pi 2) Ensure that the Pi is connected to a motion sensor. 3) Install the required packages using "pip install -r motion_req.txt" 4) Edit settings.txt. More information as provided: url should be a valid firebase url apikey should be the api key for the aforementioned firebase rm_no is the room number is <block><floor> format sleep_time is the time in minutes it will wait after detecting motion before it will start detecting motion again (default 30) gpio is the GPIO pin on the Pi that the motion sensor is connected to (default 19) 5) Run the python file using "python3 motion_sensor.py GUI SETUP 1) Open the GUI folder 2) Install the required packages using "pip install -r gui_req.txt" 3) Edit settings.txt. More information as provided: url should be a valid firebase url apikey should be the api key for the aforementioned firebase 4) Run the python file using "python3 main.py" Note: The GUI may take a while to start as it is getting data from the firebase. If the GUI crashes while opening, check that you have a valid internet connection.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.