We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 420e119 commit 17a700fCopy full SHA for 17a700f
use-case/read-a-drivers-license/index.html
@@ -111,6 +111,7 @@ <h1>Read a Driver's License</h1>
111
// Create a `CameraEnhancer` instance for camera control and a `CameraView` instance for UI control.
112
const cameraView = await Dynamsoft.DCE.CameraView.createInstance();
113
const cameraEnhancer = await Dynamsoft.DCE.CameraEnhancer.createInstance(cameraView);
114
+ cameraEnhancer.setResolution({ width: 1920, height: 1080 });
115
cameraViewContainer.append(cameraView.getUIElement()); // Get default UI and append it to DOM.
116
117
// Create a `CaptureVisionRouter` instance and set `CameraEnhancer` instance as its image source.
0 commit comments