Code Monkey home page Code Monkey logo

pengy-be's Introduction

PENGY

UN's Sustainable Development

Goal 11. Sustainable Cities and Communities

Problem

  1. Not Paying Attention to Fire Risks: A lot of people don’t realize how everyday actions and oversights can lead to serious fire hazards. Things like plugging too many devices into one outlet, not storing things safely, or forgetting to check if fire safety gear works properly are common mistakes. Many think, "A fire won’t happen to me," and end up ignoring basic safety steps.

  2. Radio-like one-way education: The current approach to fire safety education often delivers information that is not directly applicable to the specific environments in which we live or work. This lack of personalized and relevant content makes it difficult for individuals to truly grasp the importance of fire safety or to envision how to implement these practices in their daily lives. To address this issue, there's a pressing need to shift from a one-size-fits-all method of instruction to a more interactive and engaging educational model.

  3. Not Looking for Information on Fire Safety: People generally don’t make an effort to learn fire safety knowledge by their own will. Since many think a fire is unlikely to happen to them, they don’t see the point in spending time on this topic. Even when helpful tips and information are easy to find, they're often ignored. This attitude stops important safety information from getting to the people who need it most and makes them less prepared for fire risks around them.

Solution

Our Solution addresses the issue of underestimating fire risks due to a lack of fire safety awareness and preparedness. By transforming the perception of fire from a distant to a daily concern, we aim to heighten awareness of fire hazards and provide knowledge for appropriate responses.

Key features:

  1. Management of Fire Hazards in Personal Spaces

  2. Fire Safety Education through diverse content including news, YouTube videos, fire prevention tips, and academic theses.

  3. Content Generation: These contents are semi-automatically generated through crawling and open-source APIs.

  4. Customized Advice: Tailored advice for fire management specific to different spaces, generated by Gemini Vision Pro.

  5. VertexAI with Grounding: Added for verifying response reliability.

  6. Temperature-Based Risk Assessment: Spaces' risk levels are now measurable via thermometers, reflected differently on Google Maps for easy visualization.

  7. Daily Fire Safety Tips: Using google batch, delivered via push notifications (Firebase Cloud Messaging) tailored to user's registered spaces.

  8. Fire Safety Quizzes: To test and improve knowledge, with enhanced UX during waiting time for Gemini's response.

  9. Safety Checklist per space.

  10. Real-time Object Detection for Fire Risk Assessment: YOLO v8 ML model trained on top 7 fire hazard categories for personalized recommendations, integrated with camera feed for real-time detection and suggestion of fire risk objects.

How to run

[Front-End] Click to download a releaed apk. To install this, you need to able downloading an app from unknown sources.

or

using flutter

  1. Clone this project
    git clone https://github.com/GDSC-CAU/Pengy-FE.git
  1. Set .env in root project
  MAP_KEY=*Put your Google Maps API KEY*
  1. Set local.properties in root project/android/local.properties
  MAP_KEY=*Put your Google Maps API KEY*
  1. Run with Android Studio

[Back-End] click to redirect to Back-End repository.

  1. Clone this project
    git clone https://github.com/GDSC-CAU/Pengy-BE.git
  1. Create a Python virtual environmen
    python -m venv venv
    ./venv/scripts/activate
  1. Install dependencies and start the server.
    pip install -r requirements.txt
    python manage.py runserver

[AI] click to redirect to AI repository.

  1. Clone this project
    git clone https://github.com/GDSC-CAU/Pengy-AI.git
  1. Create a Python virtual environmen
    python -m venv venv
    ./venv/scripts/activate
  1. Install dependencies
    pip install -r requirements.txt
  1. if you wanna train your model, refer to jupyter
    cd jupyter
  1. for object detection with webcam
    python detect.py your.model
  1. export your model to tflite
    python export.py your.model tflite

System Architecture

시스템아키텍쳐

Used open source

Google Products

  • Flutter
  • Firebase
  • TensorFlow Lite
  • Google Cloud Platform
  • Google Maps API
  • Google Login API
  • YouTube API
  • Gemini API
  • Vertex AI

Screens

MainPage
BeforeCamera Loading Analysis Result Space Analysis Result
Space Check List Fire Hazard Info Space Analysis Result

Team

Janghyeon Park (Leader) Sunbin Do Byeori Moon Junhyung Park
Back-End/AI AI/Back-End Front-End/Design Front-End/AI
park-janghyeon typingmistake byeori-moon DogJHDOG

pengy-be's People

Contributors

park-janghyeon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.