Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit c436b09

Browse files
4.0.1
1 parent a226df0 commit c436b09

21 files changed

+37
-36
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2003–2023 Dynamsoft. All Rights Reserved.
1+
Copyright © 2003–2024 Dynamsoft. All Rights Reserved.
22

33
The use of this software is governed by the Dynamsoft Terms and Conditions.
44
https://www.dynamsoft.com/company/license-agreement/

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ In this guide, you will learn step by step on how to integrate the Dynamsoft Cam
3434

3535
To use the SDK, we first include the following packages:
3636

37-
1. `dynamsoft-camera-enhancer`: required, it provides the camera related functionalities used in this guide.
38-
2. `dynamsoft-core`: required, it includes basic classes, interfaces, and enumerations that are shared between all Dynamsoft SDKs.
37+
1. `dynamsoft-camera-enhancer`: Required, it provides the camera related functionalities used in this guide.
38+
2. `dynamsoft-core`: Required, it includes basic classes, interfaces, and enumerations that are shared between all Dynamsoft SDKs.
39+
3. `dynamsoft-license`: Optional, if you wish to utilize advanced features such as auto-zoom, enhanced focus, and tap-to-focus, you will need to include it.
3940

4041
#### Use a CDN
4142

@@ -44,21 +45,21 @@ The simplest way to include the SDK is to use a CDN such as [jsDelivr](https://j
4445
- jsDelivr
4546

4647
```html
47-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.20/dist/core.js"></script>
48+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.30/dist/core.js"></script>
4849
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/license.js"></script>
4950
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/dce.js"></script>
5051
```
5152

5253
- UNPKG
5354

5455
```html
55-
<script src="https://unpkg.com/dynamsoft-core@3.0.20/dist/core.js"></script>
56+
<script src="https://unpkg.com/dynamsoft-core@3.0.30/dist/core.js"></script>
5657
<script src="https://unpkg.com/dynamsoft-license@3.0.20/dist/license.js"></script>
5758
<script src="https://unpkg.com/dynamsoft-camera-enhancer@4.0.1/dist/dce.js"></script>
5859
```
5960

6061
> In some rare cases, you might not be able to access the CDN. If this happens, you can use
61-
>- [https://download2.dynamsoft.com/packages/dynamsoft-core@3.0.20/dist/core.js](https://download2.dynamsoft.com/packages/dynamsoft-core@3.0.20/dist/core.js)
62+
>- [https://download2.dynamsoft.com/packages/dynamsoft-core@3.0.30/dist/core.js](https://download2.dynamsoft.com/packages/dynamsoft-core@3.0.30/dist/core.js)
6263
>- [https://download2.dynamsoft.com/packages/dynamsoft-license@3.0.20/dist/license.js](https://download2.dynamsoft.com/packages/dynamsoft-license@3.0.20/dist/license.js)
6364
>- [https://download2.dynamsoft.com/packages/dynamsoft-camera-enhancer@4.0.1/dist/dce.js](https://download2.dynamsoft.com/packages/dynamsoft-camera-enhancer@4.0.1/dist/dce.js)
6465
@@ -89,7 +90,7 @@ The following shows a few ways to download the SDK.
8990
Depending on how you downloaded the SDK and where you put it. You can typically include it like this:
9091

9192
```html
92-
<script src="./dynamsoft-camera-enhancer-js-4.0.1/dynamsoft/distributables/dynamsoft-core@3.0.20/dist/core.js"></script>
93+
<script src="./dynamsoft-camera-enhancer-js-4.0.1/dynamsoft/distributables/dynamsoft-core@3.0.30/dist/core.js"></script>
9394
<script src="./dynamsoft-camera-enhancer-js-4.0.1/dynamsoft/distributables/dynamsoft-camera-enhancer@4.0.1/dist/dce.js"></script>
9495
```
9596

@@ -253,6 +254,7 @@ Dynamsoft.DCE.CameraView.createInstance("THE-URL-TO-THE-FILE");
253254
254255
```html
255256
<select class="dce-sel-resolution">
257+
<option class="dce-opt-gotResolution" value="got"></option>
256258
<option data-width="1920" data-height="1080">1920x1080</option>
257259
<option data-width="1280" data-height="720">1280x720</option>
258260
<option data-width="640" data-height="480">640x480</option>

dist/dce.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/types/class/CameraView.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DSRect, Rect } from "@dynamsoft/dynamsoft-core";
1+
import { DSRect, Rect } from "dynamsoft-core";
22
import { View } from "./View";
33
import { EventHandler } from "../utils";
44
export declare class CameraView extends View {

dist/types/class/ImageEditorView.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DSImageData } from "@dynamsoft/dynamsoft-core";
1+
import { DSImageData } from "dynamsoft-core";
22
import { View } from "./View";
33
import DrawingLayer from "./drawinglayer";
44
export declare class ImageEditorView extends View {

dist/types/class/cameraenhancer.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageSourceAdapter, EnumImagePixelFormat, Point, DSRect, Rect, Warning, ImageSourceErrorListener } from "@dynamsoft/dynamsoft-core";
1+
import { ImageSourceAdapter, EnumImagePixelFormat, Point, DSRect, Rect, Warning, ImageSourceErrorListener } from "dynamsoft-core";
22
import { CameraView } from "./CameraView";
33
import { VideoDeviceInfo, DCEFrame, PlayCallbackInfo, Resolution } from "../interface";
44
import { EnumEnhancedFeatures } from "../enum";

dist/types/class/drawingItem/arc.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Arc } from "@dynamsoft/dynamsoft-core";
1+
import { Arc } from "dynamsoft-core";
22
import { DrawingItem } from "./drawingitem";
33
export declare class DT_Arc extends DrawingItem {
44
#private;

dist/types/class/drawingItem/image.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DSImageData, Rect } from "@dynamsoft/dynamsoft-core";
1+
import { DSImageData, Rect } from "dynamsoft-core";
22
import { DrawingItem } from "./drawingitem";
33
export declare class DT_Image extends DrawingItem {
44
#private;

0 commit comments

Comments
 (0)