dynamsoft-camera-enhancer
Advanced tools
Comparing version 4.0.1-beta-202401012248 to 4.0.1-beta-202401110100
@@ -1,2 +0,2 @@ | ||
import { ImageSourceAdapter, EnumImagePixelFormat, Point, DSRect, Rect, Warning, ImageSourceErrorListener } from "@dynamsoft/dynamsoft-core"; | ||
import { ImageSourceAdapter, EnumImagePixelFormat, Point, DSRect, Rect, Warning, ImageSourceErrorListener } from "dynamsoft-core"; | ||
import { CameraView } from "./CameraView"; | ||
@@ -3,0 +3,0 @@ import { VideoDeviceInfo, DCEFrame, PlayCallbackInfo, Resolution } from "../interface"; |
@@ -1,2 +0,2 @@ | ||
import { DSRect, Rect } from "@dynamsoft/dynamsoft-core"; | ||
import { DSRect, Rect } from "dynamsoft-core"; | ||
import { View } from "./View"; | ||
@@ -3,0 +3,0 @@ import { EventHandler } from "../utils"; |
@@ -1,2 +0,2 @@ | ||
import { Arc } from "@dynamsoft/dynamsoft-core"; | ||
import { Arc } from "dynamsoft-core"; | ||
import { DrawingItem } from "./drawingitem"; | ||
@@ -3,0 +3,0 @@ export declare class DT_Arc extends DrawingItem { |
@@ -1,2 +0,2 @@ | ||
import { DSImageData, Rect } from "@dynamsoft/dynamsoft-core"; | ||
import { DSImageData, Rect } from "dynamsoft-core"; | ||
import { DrawingItem } from "./drawingitem"; | ||
@@ -3,0 +3,0 @@ export declare class DT_Image extends DrawingItem { |
import { DT_Polygon } from "./polygon"; | ||
import { LineSegment, Polygon } from "@dynamsoft/dynamsoft-core"; | ||
import { LineSegment, Polygon } from "dynamsoft-core"; | ||
export declare class DT_Line extends DT_Polygon { | ||
@@ -4,0 +4,0 @@ #private; |
import { fabric } from "dm-fabric"; | ||
import { DrawingItem } from "./drawingitem"; | ||
import { Polygon } from "@dynamsoft/dynamsoft-core"; | ||
import { Polygon } from "dynamsoft-core"; | ||
export declare function polygonPositionHandler(dim: any, finalMatrix: any, fabricObject: any): fabric.Point; | ||
@@ -5,0 +5,0 @@ export declare function actionHandler(eventData: any, transform: any, x: any, y: any): boolean; |
@@ -1,2 +0,2 @@ | ||
import { Polygon, Quadrilateral } from "@dynamsoft/dynamsoft-core"; | ||
import { Polygon, Quadrilateral } from "dynamsoft-core"; | ||
import { DT_Polygon } from "./polygon"; | ||
@@ -3,0 +3,0 @@ export declare class DT_Quad extends DT_Polygon { |
@@ -1,2 +0,2 @@ | ||
import { Rect } from "@dynamsoft/dynamsoft-core"; | ||
import { Rect } from "dynamsoft-core"; | ||
import { DrawingItem } from "./drawingitem"; | ||
@@ -3,0 +3,0 @@ export declare class DT_Rect extends DrawingItem { |
@@ -1,2 +0,2 @@ | ||
import { Rect } from "@dynamsoft/dynamsoft-core"; | ||
import { Rect } from "dynamsoft-core"; | ||
import { DrawingItem } from "./drawingitem"; | ||
@@ -3,0 +3,0 @@ export declare class DT_Text extends DrawingItem { |
@@ -1,2 +0,2 @@ | ||
import { DSImageData } from "@dynamsoft/dynamsoft-core"; | ||
import { DSImageData } from "dynamsoft-core"; | ||
import { View } from "./View"; | ||
@@ -3,0 +3,0 @@ import DrawingLayer from "./drawinglayer"; |
@@ -1,2 +0,2 @@ | ||
import { DSImageData } from "@dynamsoft/dynamsoft-core"; | ||
import { DSImageData } from "dynamsoft-core"; | ||
import { VideoFrameTag } from "./VideoFrameTag"; | ||
@@ -3,0 +3,0 @@ export interface DCEFrame extends DSImageData { |
@@ -1,2 +0,2 @@ | ||
import { Point } from "@dynamsoft/dynamsoft-core"; | ||
import { Point } from "dynamsoft-core"; | ||
export interface TipConfig { | ||
@@ -3,0 +3,0 @@ topLeftPoint: Point; |
@@ -1,2 +0,2 @@ | ||
import { ImageTag, DSRect } from "@dynamsoft/dynamsoft-core"; | ||
import { ImageTag, DSRect } from "dynamsoft-core"; | ||
export interface VideoFrameTag extends ImageTag { | ||
@@ -3,0 +3,0 @@ isCropped: boolean; |
@@ -1,2 +0,2 @@ | ||
import { DSRect, Rect } from "@dynamsoft/dynamsoft-core"; | ||
import { DSRect, Rect } from "dynamsoft-core"; | ||
export declare class ScanRegionConverter { | ||
@@ -3,0 +3,0 @@ /** |
@@ -19,3 +19,3 @@ import { DCEFrame, DrawingStyle, Note, Resolution, TipConfig, VideoFrameTag } from "../interface"; | ||
*/ | ||
export declare const isArc: (value: any) => value is import("@dynamsoft/dynamsoft-core").Arc; | ||
export declare const isArc: (value: any) => value is import("dynamsoft-core").Arc; | ||
/** | ||
@@ -26,3 +26,3 @@ * Judge is the input is a {@link DSImageData} object. | ||
*/ | ||
export declare const isDSImageData: (value: any) => value is import("@dynamsoft/dynamsoft-core").DSImageData; | ||
export declare const isDSImageData: (value: any) => value is import("dynamsoft-core").DSImageData; | ||
/** | ||
@@ -33,3 +33,3 @@ * Judge is the input is a {@link DSRect} object. | ||
*/ | ||
export declare const isDSRect: (value: any) => value is import("@dynamsoft/dynamsoft-core").DSRect; | ||
export declare const isDSRect: (value: any) => value is import("dynamsoft-core").DSRect; | ||
/** | ||
@@ -40,3 +40,3 @@ * Judge is the input is a {@link ImageTag} object. | ||
*/ | ||
export declare const isImageTag: (value: any) => value is import("@dynamsoft/dynamsoft-core").ImageTag; | ||
export declare const isImageTag: (value: any) => value is import("dynamsoft-core").ImageTag; | ||
/** | ||
@@ -47,3 +47,3 @@ * Judge is the input is a {@link LineSegment} object. | ||
*/ | ||
export declare const isLineSegment: (value: any) => value is import("@dynamsoft/dynamsoft-core").LineSegment; | ||
export declare const isLineSegment: (value: any) => value is import("dynamsoft-core").LineSegment; | ||
/** | ||
@@ -54,3 +54,3 @@ * Judge is the input is a {@link Polygon} object. | ||
*/ | ||
export declare const isPolygon: (value: any) => value is import("@dynamsoft/dynamsoft-core").Polygon; | ||
export declare const isPolygon: (value: any) => value is import("dynamsoft-core").Polygon; | ||
/** | ||
@@ -61,3 +61,3 @@ * Judge is the input is a {@link Point} object. | ||
*/ | ||
export declare const isPoint: (value: any) => value is import("@dynamsoft/dynamsoft-core").Point; | ||
export declare const isPoint: (value: any) => value is import("dynamsoft-core").Point; | ||
/** | ||
@@ -68,3 +68,3 @@ * Judge is the input is a {@link Quadrilateral} object. | ||
*/ | ||
export declare const isQuad: (value: any) => value is import("@dynamsoft/dynamsoft-core").Quadrilateral; | ||
export declare const isQuad: (value: any) => value is import("dynamsoft-core").Quadrilateral; | ||
/** | ||
@@ -75,3 +75,3 @@ * Judge is the input is a {@link Rect} object. | ||
*/ | ||
export declare const isRect: (value: any) => value is import("@dynamsoft/dynamsoft-core").Rect; | ||
export declare const isRect: (value: any) => value is import("dynamsoft-core").Rect; | ||
/** | ||
@@ -78,0 +78,0 @@ * Judge is the input is a {@link DCEFrame} object. |
{ | ||
"name": "dynamsoft-camera-enhancer", | ||
"version": "4.0.1-beta-202401012248", | ||
"version": "4.0.1-beta-202401110100", | ||
"description": "Allow your website to easily control cameras on desktop and mobile devices.", | ||
@@ -82,5 +82,5 @@ "private": false, | ||
"devDependencies": { | ||
"@dynamsoft/camera-manager": "^2.0.0-16", | ||
"@dynamsoft/camera-manager": "^2.0.0", | ||
"@dynamsoft/dynamsoft-barcode-reader": "^10.0.20-dev-20231222153407", | ||
"@dynamsoft/rd2-scripts": "^0.1.3", | ||
"@dynamsoft/rd2-scripts": "^0.1.4", | ||
"@dynamsoft/tools": "^0.0.1", | ||
@@ -100,7 +100,6 @@ "@rollup/plugin-node-resolve": "^13.3.0", | ||
"dependencies": { | ||
"@dynamsoft/dynamsoft-core": "^3.0.20-dev-20231225171030", | ||
"dm-fabric": "^5.1.17", | ||
"dm-howler": "^2.2.4", | ||
"dynamsoft-core": "^3.0.10" | ||
"dynamsoft-core": "^3.0.30" | ||
} | ||
} |
@@ -37,4 +37,5 @@ # Dynamsoft Camera Enhancer for Your Website | ||
1. `dynamsoft-camera-enhancer`: required, it provides the camera related functionalities used in this guide. | ||
2. `dynamsoft-core`: required, it includes basic classes, interfaces, and enumerations that are shared between all Dynamsoft SDKs. | ||
1. `dynamsoft-camera-enhancer`: Required, it provides the camera related functionalities used in this guide. | ||
2. `dynamsoft-core`: Required, it includes basic classes, interfaces, and enumerations that are shared between all Dynamsoft SDKs. | ||
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. | ||
@@ -48,3 +49,3 @@ #### Use a CDN | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.20/dist/core.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.30/dist/core.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/license.js"></script> | ||
@@ -57,3 +58,3 @@ <script src="https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/dce.js"></script> | ||
```html | ||
<script src="https://unpkg.com/dynamsoft-core@3.0.20/dist/core.js"></script> | ||
<script src="https://unpkg.com/dynamsoft-core@3.0.30/dist/core.js"></script> | ||
<script src="https://unpkg.com/dynamsoft-license@3.0.20/dist/license.js"></script> | ||
@@ -64,3 +65,3 @@ <script src="https://unpkg.com/dynamsoft-camera-enhancer@4.0.1/dist/dce.js"></script> | ||
> In some rare cases, you might not be able to access the CDN. If this happens, you can use | ||
>- [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) | ||
>- [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) | ||
>- [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) | ||
@@ -96,3 +97,3 @@ >- [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) | ||
```html | ||
<script src="./dynamsoft-camera-enhancer-js-4.0.1/dynamsoft/distributables/dynamsoft-core@3.0.20/dist/core.js"></script> | ||
<script src="./dynamsoft-camera-enhancer-js-4.0.1/dynamsoft/distributables/dynamsoft-core@3.0.30/dist/core.js"></script> | ||
<script src="./dynamsoft-camera-enhancer-js-4.0.1/dynamsoft/distributables/dynamsoft-camera-enhancer@4.0.1/dist/dce.js"></script> | ||
@@ -261,2 +262,3 @@ ``` | ||
<select class="dce-sel-resolution"> | ||
<option class="dce-opt-gotResolution" value="got"></option> | ||
<option data-width="1920" data-height="1080">1920x1080</option> | ||
@@ -263,0 +265,0 @@ <option data-width="1280" data-height="720">1280x720</option> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1384269
3
358