From 9a320ea2f9b907127ffdbd832eb7eaf6f117891e Mon Sep 17 00:00:00 2001 From: Christian Baker <31904251+crnbaker@users.noreply.github.com> Date: Thu, 20 Jul 2023 12:18:48 +0100 Subject: [PATCH] Remove src from README example imports --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e09cd53..c9dedcc 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ A full working example is provided in First, create a `ProCaptureSettings` dataclass: ```python -from src.pymagewell import ( +from pymagewell import ( ProCaptureSettings, ImageSizeInPixels, TransferMode, ColourFormat ) @@ -43,14 +43,14 @@ Then create a `ProCaptureDevice` (or `MockProCaptureDevice` for testing on a sys your chosen settings: ```python -from src.pymagewell import ProCaptureDevice +from pymagewell import ProCaptureDevice device = ProCaptureDevice(settings=device_settings) ``` Then create a `ProCaptureDeviceController` to transfer frames from the device to your PC: ```python -from src.pymagewell import ProCaptureController +from pymagewell import ProCaptureController controller = ProCaptureController(device) ```