Giter VIP home page Giter VIP logo

python-auto-attendance's Introduction

Python Auto Attendance

Debug Status Build Status

License: GPL v3 Downloads

About

This package uses the OCR engine - libtesseract and a command line program - tesseract with UB-Manheim English train-data to mark attendance of Google Meet participants in Google Sheets

The lead developer is Anhat Singh

This package uses various python libraries to take attendance effeciently and make google sheets using Google Sheets API v4

Building / Installing Python-Auto-Attendance

Building the Package

  1. Install the Python dependencies by running the following pip commands
    pip install pysimplegui
    pip install selenium
    pip install pyautogui
    pip install pygetwindow
    pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
    pip install pyscreenshot
    pip install pytesseract
    pip install opencv-python
    
  2. Install UB-Mannheim Windows pre-built binary of Tesseract-OCR from here. (Note: Make sure you are installing at default directory only, and not changing it)
  3. Use the included chromedriver.exe or download the latest one from ChromeDriver - WebDriver for Chrome and keep it in the root directory.
  4. Follow bullet 3 and 4 of Prerequisites at Google Sheets API v4 Guide to create a Google Cloud Platform Project, enable Sheets API and get the Google credentials.json file to be put into the root directory.

Get pre-built binary package

  1. Copy everything in dist/ folder onto your pc.
  2. Use the included chromedriver.exe or download the latest one from ChromeDriver - WebDriver for Chrome and keep it in the root directory.
  3. Follow bullet 3 and 4 of Prerequisites at Google Sheets API v4 Guide to create a Google Cloud Platform Project, enable Sheets API and get the Google credentials.json file to be put into the root directory.

Running Python-Auto-Attendance

  • If you have pre-built package, simply run app.exe file.
  • If you have downloaded the source-code, run the following command:
    py app.py
    

How to Use

Coming soon

License

The code in this repository is licensed under the GNU General Public Licence, Version 3.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   https://www.gnu.org/licenses/gpl-3.0.en.html

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

NOTE: This software depends on other packages that may be licensed under different open source licenses.

Tesseract uses Leptonica library which essentially uses a BSD 2-clause license.

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.