AI powered Spendenraid evaluation.
AGPL-3.0 License
This AI helps with the evaluations of donations during the pr0gramm "Spendenraid". It classifies pictures to see what organisation the donation was for, as well as the amount of money donated.
The AI operates multithreaded and asynchronous. It receives a "batch" of image ID's which are processed one after the other in a "queue" (image download, organisation classification, donation amount evaluation, image deletion, sending the result to the server). One worker thread is opened per batch. Batches can arrive in parallel, i.e. if one batch is currently being processed, another one can arrive at the same time. These are then processed independently of each other. It is recommended to deploy the whole project with PM2 in Cluster Mode with about 5 instances, so that another OSI-layer 7 horizontal scaling takes place. A ready-made configuration file is available in the repository.
To learn how the AI was trained, please refer to the explanation in the classification script.
node -v
git clone https://github.com/NullDev/Spendenr-AI-d.git && cd Spendenr-AI-d
npm install
config.js
config.json
npm start
npm run dev
Attention: Additionally required modules besides NPM Dependencies:
sudo apt install tesseract-ocr tesseract-ocr tesseract-ocr-deu
)pip install tensorflow==2.4.0
)