From 47055de4f2b94e519def928545a92ac78845672b Mon Sep 17 00:00:00 2001 From: iwkjosec Date: Tue, 26 Mar 2024 14:02:06 +0900 Subject: [PATCH] om->on, seperate->separate --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cac0f24..3b988ba 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,14 @@ IEnumerable displays = screenCaptureService.GetDisplays(graphicsCards.F // Create a screen-capture for all screens you want to capture IScreenCapture screenCapture = screenCaptureService.GetScreenCapture(displays.First()); -// Register the regions you want to capture om the screen +// Register the regions you want to capture on the screen // Capture the whole screen ICaptureZone fullscreen = screenCapture.RegisterCaptureZone(0, 0, screenCapture.Display.Width, screenCapture.Display.Height); // Capture a 100x100 region at the top left and scale it down to 50x50 ICaptureZone topLeft = screenCapture.RegisterCaptureZone(0, 0, 100, 100, downscaleLevel: 1); // Capture the screen -// This should be done in a loop on a seperate thread as CaptureScreen blocks if the screen is not updated (still image). +// This should be done in a loop on a separate thread as CaptureScreen blocks if the screen is not updated (still image). screenCapture.CaptureScreen(); // Do something with the captured image - e.g. access all pixels (same could be done with topLeft)