Giter Club home page Giter Club logo

whereis's Introduction

ToC

  1. Description
  2. Instructions
  3. Screenshots

Description

Simple webgui to update and present travel plans. Webgui thanks to the streamlit package. Features include:

  • Upload multiple plane tickets from Google's Travel page extract information using pytesseract, and present it
  • Uploaded tickets will be stored in images folder as ticket_1.png etc
  • Manually input where you are and where you plan to be, and when
  • Store above information in an sqlite db, so OCR and extraction is not done on each page reload
  • Present tracking info: https://www.flightstats.com/v2/flight-tracker/AA/5584

Instructions

First edit line 43 of whereis.py to change the default name and nickname. Then:

pip install -r requirements.txt # install prereqs
python db_reset.py # initiate sqlite database
streamlit run whereis.py # start the main webpage
streamlit run settings.py # start the settings page

Update the Main Page

  1. Upload an Image: just upload it, nothing special required
  2. Upload Tickets
  3. Save a screenshot of your plane ticket, one at a time, with the confirmation code included image
  • NOTE: OCR assumes that tickets were saves alphabetically, so image "a.jpg" will appear as Flight 1 and "b.jpg" as Flight 2.
  • NOTE: Wait until the running man in the top right stops, then close the tab. Tab must be closed and not refreshed or the picture will be processed again.
  1. Update Location: NYC, NY
  2. Update Plans: location as Los Angeles; Miami, FL with date in same order March 2; June 2, 2022 then click submit.

Preview

image

image

whereis's People

Contributors

pomkos avatar ptrbrn avatar

Watchers

 avatar  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.