Skip to content

Commit

Permalink
driver license use 1080P by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Keillion authored Nov 20, 2024
1 parent cd391f7 commit 49e39f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions use-case/read-a-drivers-license/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ <h1>Read a Driver's License</h1>
// Create a `CameraEnhancer` instance for camera control and a `CameraView` instance for UI control.
const cameraView = await Dynamsoft.DCE.CameraView.createInstance();
const cameraEnhancer = await Dynamsoft.DCE.CameraEnhancer.createInstance(cameraView);
cameraEnhancer.setResolution({ width: 1920, height: 1080 });
cameraViewContainer.append(cameraView.getUIElement()); // Get default UI and append it to DOM.

// Create a `CaptureVisionRouter` instance and set `CameraEnhancer` instance as its image source.
Expand Down

0 comments on commit 49e39f6

Please sign in to comment.