项目作者: anhatsingh

项目描述 :
高级语言: Python
项目地址: git://github.com/anhatsingh/Python-Auto-Attendance.git
创建时间: 2021-04-15T13:12:21Z
项目社区:https://github.com/anhatsingh/Python-Auto-Attendance

开源协议:GNU General Public License v3.0

下载


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
    1. pip install pysimplegui
    2. pip install selenium
    3. pip install pyautogui
    4. pip install pygetwindow
    5. pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
    6. pip install pyscreenshot
    7. pip install pytesseract
    8. 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:
    1. py app.py

    How to Use

    Coming soon

License

  1. The code in this repository is licensed under the GNU General Public Licence, Version 3.0 (the "License");
  2. you may not use this file except in compliance with the License.
  3. You may obtain a copy of the License at
  4. https://www.gnu.org/licenses/gpl-3.0.en.html
  5. Unless required by applicable law or agreed to in writing, software
  6. distributed under the License is distributed on an "AS IS" BASIS,
  7. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  8. See the License for the specific language governing permissions and
  9. 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.