OpenCV: Parking Detection Simulation with Node-Red Visualization Dashboard

Опубликовано: 24 Июль 2022
на канале: Yaser Ali Husen
10,880
221

Parking Detection Simulation with Node-Red Visualization Dashboard.
Required files: https://drive.google.com/drive/folder...
Unzip file using WinRAR if error when unzipping

If you find this content useful, please send me "Super Thanks"

Please find zip password in video
Follow these Major Steps:
1. Python
- Install python on WIndows
- Upgrade pip: python -m pip install --upgrade pip
- Install numpy: pip install numpy
- Install opencv: pip install opencv-python
- Install pyyaml: pip install pyyaml
To run python with connecting to database and node-red
- Install postgresql library: pip install psycopg2

2. Install postgresql
Visit: https://www.postgresql.org/download/

3. Create database and table
table parking:
DROP TABLE IF EXISTS "public"."parking";
CREATE TABLE "public"."parking" (
"no_area" int2,
"status" bool
);

4. Node-red
- Install Node.js: https://nodejs.org/en/
- Install node-red: npm install -g --unsafe-perm node-red
- Run node-red by typing: node-red
- Open internet browser, type in address bar: localhost:1880 or 127.0.0.1:1880
- Install node-red Dashboard: node-red-dashboard
- Install PostgreSQL module: node-red-contrib-postgrestor-next
- Install SVG module: node-red-contrib-ui-svg
- Install SVG drawing: node-red-contrib-drawsvg
- Import json file, find on the folder node-red
- Setup postgresql node for database configuration

5. Run test python
setup up the database configuration

Thank you for watching