Skip to content

Estimates the likelihood that there isn't traffic today, and that I can safely hit snooze and not be late for work

License

Notifications You must be signed in to change notification settings

pierrekarpov/can-i-hit-snooze-today

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Can I hit snooze today?

Estimates the likelihood that there isn't traffic today, and that I can safely hit snooze and not be late for work.

General idea

For this project, we will get data from Data.gov.sg. Namely, we will use their traffic images API. Based on that data set, we will then generate reports on how many cars are at which location, and at what time. In turn, that will allow us to predict how many car there will be for my morning commute. We will be able to estimate whether hitting snooze is safe or not.

Project pipeline

  1. Get and store images from traffic images API (script)
  2. Build tool to classify part of an image (script)
  3. Go through our image library, classify a lot of examples car/no car
  4. Go through classified data, crop and resize selections out of original pictures (script)
  5. Write code to build, train, and test my own deep NNs (script1) (script2)
  6. Train CNN to detect whether car/no car (script)
  7. Use sliding doors technique to detect the car sections in pictures (script)
  8. Estimate how many cars in pictures with neighborhood counting (script)
  9. Use the images from traffic images API for the times and locations of my commute specifically. (script)
  10. Build time series with how many cars, at what time, and where. (script)
  11. Run ARIMA algorithm to estimate whether or not there will be traffic today. (script)
  12. (WIP) Snooze peacefully 😴😴😴

Comparison analysis

A lot of these algorithms will be build from scratch. Once the project is finished and running, it would be interesting to compare how they hold versus the standard libraries'.

Other approaches to try

  • Webcrawler to get traffic data for google maps
  • Perform image difference (background extraction) to count how many cars
  • Time commute everyday and interpolate from there how long it takes
  • LTSM vs ARIMA (LTSM requires a lot of data to perform well, but handles trends and seasons better)

Future plans

  • Run scripts automatically
  • Notification system when the user wakes up
  • Parameterizasion for user people to use it in other regions of Singapore
  • Plateform where people can sign up, and receive notifications as they wake up
  • Mobile app for alarm clock, that will automatically readjust based on traffic

About

Estimates the likelihood that there isn't traffic today, and that I can safely hit snooze and not be late for work

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages