“52a480bb98da10301ca50cb8e0509770e551cd95”上不存在“paddle/fluid/git@gitcode.net:s920243400/PaddleDetection.git”
提交 6bdc3e85 编写于 作者: M mali

second

Signed-off-by: Nmali <mali81@huawei.com>
上级 ae99bfaf
...@@ -440,7 +440,7 @@ createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback ...@@ -440,7 +440,7 @@ createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback
**示例:** **示例:**
```js ```js
cameraManager.createPreviewOutput(profile, surfaceId, (err, previewoutput) => { cameraManager.createPreviewOutput(profile, surfaceId, (err, previewOutput) => {
if (err) { if (err) {
console.error(`Failed to gcreate previewOutput. ${err.message}`); console.error(`Failed to gcreate previewOutput. ${err.message}`);
return; return;
...@@ -473,7 +473,7 @@ createPreviewOutput(profile: Profile, surfaceId: string): Promise<PreviewOutput\ ...@@ -473,7 +473,7 @@ createPreviewOutput(profile: Profile, surfaceId: string): Promise<PreviewOutput\
**示例:** **示例:**
```js ```js
cameraManager.createPreviewOutput(profile, surfaceId).then((previewoutput) => { cameraManager.createPreviewOutput(profile, surfaceId).then((previewOutput) => {
console.log('Promise returned with previewOutput created.'); console.log('Promise returned with previewOutput created.');
}) })
``` ```
...@@ -497,7 +497,7 @@ createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<P ...@@ -497,7 +497,7 @@ createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<P
**示例:** **示例:**
```js ```js
cameraManager.createPhotoOutput(profile, surfaceId, (err, photooutput) => { cameraManager.createPhotoOutput(profile, surfaceId, (err, photoOutput) => {
if (err) { if (err) {
console.error(`Failed to create photoOutput. ${err.message}`); console.error(`Failed to create photoOutput. ${err.message}`);
return; return;
...@@ -530,7 +530,7 @@ createPhotoOutput(profile: Profile, surfaceId: string): Promise<PhotoOutput\> ...@@ -530,7 +530,7 @@ createPhotoOutput(profile: Profile, surfaceId: string): Promise<PhotoOutput\>
**示例:** **示例:**
```js ```js
cameraManager.createPhotoOutput(profile, surfaceId).then((photooutput) => { cameraManager.createPhotoOutput(profile, surfaceId).then((photoOutput) => {
console.log('Promise returned with photoOutput created.'); console.log('Promise returned with photoOutput created.');
}) })
``` ```
...@@ -554,7 +554,7 @@ createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallb ...@@ -554,7 +554,7 @@ createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallb
**示例:** **示例:**
```js ```js
cameraManager.createVideoOutput(profile, surfaceId, (err, videooutput) => { cameraManager.createVideoOutput(profile, surfaceId, (err, videoOutput) => {
if (err) { if (err) {
console.error(`Failed to create videoOutput. ${err.message}`); console.error(`Failed to create videoOutput. ${err.message}`);
return; return;
...@@ -587,7 +587,7 @@ createVideoOutput(profile: VideoProfile, surfaceId: string): Promise<VideoOutput ...@@ -587,7 +587,7 @@ createVideoOutput(profile: VideoProfile, surfaceId: string): Promise<VideoOutput
**示例:** **示例:**
```js ```js
cameraManager.createVideoOutput(profile, surfaceId).then((videooutput) => { cameraManager.createVideoOutput(profile, surfaceId).then((videoOutput) => {
console.log('Promise returned with videoOutput created.'); console.log('Promise returned with videoOutput created.');
}) })
``` ```
...@@ -610,7 +610,7 @@ createMetadataOutput(metadataObjectTypes:Array<MetadataObjectType\>, callback: A ...@@ -610,7 +610,7 @@ createMetadataOutput(metadataObjectTypes:Array<MetadataObjectType\>, callback: A
**示例:** **示例:**
```js ```js
cameraManager.createMetadataOutput(metadataObjectTypes, (err, metadataoutput) => { cameraManager.createMetadataOutput(metadataObjectTypes, (err, metadataOutput) => {
if (err) { if (err) {
console.error(`Failed to create metadataOutput. ${err.message}`); console.error(`Failed to create metadataOutput. ${err.message}`);
return; return;
...@@ -642,7 +642,7 @@ createMetadataOutput(metadataObjectTypes:Array<MetadataObjectType\>): Promise<Me ...@@ -642,7 +642,7 @@ createMetadataOutput(metadataObjectTypes:Array<MetadataObjectType\>): Promise<Me
**示例:** **示例:**
```js ```js
cameraManager.createMetadataOutput().then((metadataoutput) => { cameraManager.createMetadataOutput().then((metadataOutput) => {
console.log('Promise returned with metadataOutput created.'); console.log('Promise returned with metadataOutput created.');
}) })
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册