Skip to content

Commit 73bddb0

Browse files
committed
Update index.html
1 parent cd391f7 commit 73bddb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

use-case/read-a-drivers-license/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ <h1>Read a Driver's License</h1>
111111
// Create a `CameraEnhancer` instance for camera control and a `CameraView` instance for UI control.
112112
const cameraView = await Dynamsoft.DCE.CameraView.createInstance();
113113
const cameraEnhancer = await Dynamsoft.DCE.CameraEnhancer.createInstance(cameraView);
114+
cameraEnhancer.setResolution({ width: 1920, height: 1080 });
114115
cameraViewContainer.append(cameraView.getUIElement()); // Get default UI and append it to DOM.
115116

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

0 commit comments

Comments
 (0)