diff --git a/README.md b/README.md index 0cb1a56..dffa7b8 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,11 @@ ## How it works -- 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 - -## The flow - -1. Node calls the powershell script to capture either lat/lng. +1. Node calls the powershell script to capture the players position. 2. Powershell takes the request and captures character position and sends the image bitmap back to node in a memory stream. 3. Node receives the bitmap, runs it through an image filter, then sends the filtered image to Tesseract. 4. Tesseract does its best to parse the numbers from the image and returns it back to node. -5. 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 +5. Node gets the parsed data from Tesseract. If the text is valid, it sends it to clients connected to `http://localhost:5000/events` via an SSE. --- ## Roadmap