Our group project's goal is to automate the authentication of discord members as University students.
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.
- Discord developers account associated with a bot account.
- Google Cloud Vision API
- Tesseract OCR + TesseractJS
- NodeJS v16+ + npm v7+
- Install NodeJS
- Install TesseractOCR
- Create Discord Developer Application
- Create Google Cloud account
- Create two files:
.env
andGoogleKey.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.
- The
- run
npm install
- run
node index.js