SmartLib : An intelligent library seat management system

SmartLib is an intelligent system aimed to improve the experience at the libraries across Nanyang Technological University. Its main purpose is to address the issue of locating empty seats/booths at the libraries as well as mitigating seat hogging.

The main features are listed as:

  • Seat occupancy detection using camera
  • Check availability of seats
  • Reserve a seat, and
  • Librarian to manage seats
  • Alert the librarian if there's any seat hogging
  • Data analysis

Dependencies

  1. Python 3.7.7
  2. opencv 4.5.1
  3. firebase-admin 4.5.2
  4. npm 7.6.0

Installation

1.gitclone this repo.

2.Follow the setup instruction in detection system to setup the detection system

3.Follow the setup instruction in SmartLib to setup the frontend and backend

 

How to Run?

1. cd SmartLib && npm run dev
2. cd Detection_System && python Detection.py

2 seperate terminal  

TODO

  • Frontend Development
  • Backend Development
  • Detection System Development
  • Deploying frontend to server
  • Deploying deep learning model to server

 

Some images to illustrate the application

  • Live Seat Updates Live Seat Updates Seat status will be updated based on the seat status retrieved from firestore

 

  • Seat Booking

    Seat Booking Students is able to book a seat with just a few clicks

 

  • Admin Dashboard

    Seat Booking Admin is able to view the live feed from the cameras and there's an additional alerts panel that will show all the hogged seats

 

  • Modify Seat

    Modify Seat Admin is able to modify(including delete) status,location and bounding box of every individual seat in the library

 

  • Add Seat

    Add Seat Admin is able to add extra seat easily.

 

  • Report Generation

    Report Admin is able to generate and download seat occupancy report