This is a coordinate tracker for New World that uses Tesseract.js OCR library built with Node.js and a Powershell script.
- The node application streams your latitude and longitude via a Server Sent Event (SSE).
- The powershell application takes a screenshot at a specific offset and sends the image bitmap back to node via a MemoryStream
- Node calls the powershell script to capture either lat/lng.
- Powershell takes the request and captures either lat/lng and sends the image bitmap back to node in a memory stream
- Node receives the bitmap, and sends it to Tesseract
- Tesseract does its best to parse the numbers from the image and returns it back to node
- Node gets the parsed data from Tesseract. If the text is valid, it sends it to clients connected to
http://localhost:3000/events
via an SSE
- 1920x1080
- run
npm install
- run program from debugger by launching the
Launch Program
task or runnpm start
from powershell. For some reason running npm start from vscode doesnt work right
- run
npm install
- run
npm run build
. This will createserver.exe
- This project is licensed under the MIT license
- Tesseract is licensed under Apache 2.0 license