Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

capacitor-plugin-multi-camera

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-multi-camera

多功能相机,预览、百度OCR、人脸检测等功能

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

capacitor-plugin-multi-camera

多功能相机,预览、百度OCR、人脸检测等功能

Install

npm install capacitor-plugin-multi-camera
npx cap sync

API

  • startPreview(...)
  • stopPreview()
  • flip()
  • capture(...)
  • startFaceDetection()
  • stopFaceDetection()
  • startIDCardDetection(...)
  • stopIDCardDetection()
  • Interfaces
  • Type Aliases

startPreview(...)

startPreview(options: StartOption) => Promise<void>
ParamType
optionsStartOption

stopPreview()

stopPreview() => Promise<void>

flip()

flip() => Promise<void>

capture(...)

capture(options: CaptureOption) => Promise<CaptureResult>
ParamType
optionsCaptureOption

Returns: Promise<CaptureResult>

startFaceDetection()

startFaceDetection() => Promise<void>

stopFaceDetection()

stopFaceDetection() => Promise<void>

startIDCardDetection(...)

startIDCardDetection(options: IDCardDetectionOption) => Promise<void>
ParamType
optionsIDCardDetectionOption

stopIDCardDetection()

stopIDCardDetection() => Promise<void>

Interfaces

StartOption

PropType
cameraCameraType
toBackboolean
widthnumber
heightnumber
xnumber
ynumber

CaptureResult

PropType
datastring
pathstring

CaptureOption

PropType
qualitynumber
storeToFileboolean

IDCardDetectionOption

PropType
typeIDCardType

Type Aliases

CameraType

相机选项

'back' | 'front'

IDCardType

'back' | 'front'

Keywords

capacitor

FAQs

Package last updated on 22 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts