From 77d5e9639a980653b17297100b9e26e083e2e890 Mon Sep 17 00:00:00 2001 From: Emmanuel Martinez Date: Wed, 13 Oct 2021 16:08:07 -0400 Subject: [PATCH 1/4] more readme update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cb1a56..4f39a1f 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ ## How it works +- The powershell application takes a screenshot of the characters position and sends the image bitmap back to node via a MemoryStream - 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 From 7e2c599f7caf4abac746676e18a1f40ded94232f Mon Sep 17 00:00:00 2001 From: Emmanuel Martinez Date: Wed, 13 Oct 2021 16:09:40 -0400 Subject: [PATCH 2/4] updated readme --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index 4f39a1f..b767594 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,6 @@ ## How it works -- The powershell application takes a screenshot of the characters position and sends the image bitmap back to node via a MemoryStream -- The node application streams your latitude and longitude via a Server Sent Event (SSE). - -## The flow - 1. Node calls the powershell script to capture either lat/lng. 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. From 5722b39ae0b18a13f700be2a8c410d902c67bf8c Mon Sep 17 00:00:00 2001 From: Emmanuel Martinez Date: Wed, 13 Oct 2021 16:10:15 -0400 Subject: [PATCH 3/4] updated readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b767594..a87122b 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ ## How it works -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:3000/events` via an SSE. --- ## Roadmap From c49b3f71c67fbf12ae50cacc45073150b984ecf7 Mon Sep 17 00:00:00 2001 From: Emmanuel Martinez Date: Wed, 13 Oct 2021 16:11:09 -0400 Subject: [PATCH 4/4] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a87122b..dffa7b8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ 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