Skip to content

A discord bot that authenticates discord members as university students by providing a photo of their student ID.

License

Notifications You must be signed in to change notification settings

BrunoStevaux/HCI2021

Repository files navigation

COMP 3583 HUMAN COMPUTER INTERACTIONS PROJECT

What is it?

Our group project's goal is to automate the authentication of discord members as University students.

How does it work?

Using OCR (Open Character Recognition), your student Name and ID can be validated and authenticated.

We use two different OCR engines:

  • Google Vision Label
  • Tesseract OCR

DiscordJS handles the interactions between users and the OCR engines while also handling the validation process.

How to use

Help

Requirements

  1. Discord developers account associated with a bot account.
  2. Google Cloud Vision API
  3. Tesseract OCR + TesseractJS
  4. NodeJS v16+ + npm v7+

Installation

  1. Install NodeJS
  2. Install TesseractOCR
  3. Create Discord Developer Application
  4. Create Google Cloud account
  5. Create two files: .env and GoogleKey.json
    • The .env file should contain the following: token = 'abc123'
    • The GoogleKey.json file should just be the JSON file you get once you register your Google Cloud Vision API.
  6. run npm install
  7. run node index.js

Authors

Bruno Stevaux, Jonathan Scott, Sarah Reid

About

A discord bot that authenticates discord members as university students by providing a photo of their student ID.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published