Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

faceauthview

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faceauthview

微信小程序自定义人脸识别组件

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

faceAuthView

faceAuthView 是一个微信小程序组件 用于认证用户姓名、身份证号码、以及是否是活人的检测

安装方式
  • 在微信小程序终端内运行命令
npm install faceauthview
  • 在微信小程序工具中点击 工具--->构建npm

  • 在项目的根目录 /miniprogram_npm/ 下面看到faceauthview 则构建成功

使用

在需要用到组件的页面json文件中申明组件

{
  "usingComponents": {
    "faceauthview" : "/miniprogram_npm/faceauthview/index"
  }
}

wxml中

<faceauthview name="{{name}}" idcard="{{idcard}}" bind:authSuccess="authSuccess" bind:authFail="authFail" />
name : string //中文名
idcard :  string //身份证号码
authSuccess : function //认证成功
authFail : function(e) //认证失败 返回失败信息

FAQs

Package last updated on 20 Oct 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc