Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
react-native-face-baidu
Advanced tools
Readme
封装百度人脸识别sdk
yarn add react-native-face-baidu
react-native link react-native-face-baidu
...
BAIDU_FACE_SDK_LICENSE_ID="*license*"
BAIDU_FACE_SDK_LICENSE_FILE_NAME="idl-license.face-android" # 可不配, 默认为 idl-license.face-android
...
import com.baidu.idl.face.BaiduFace; /* 在顶部添加 */
...
@Override
public void onCreate() {
super.onCreate();
SoLoader.init(this, /* native exopackage */ false);
BaiduFace.init(this); /* 在 onCreate 中添加 */
}
#import "BaiduFace.h" // 引入头文件
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[BaiduFace initSDK]; // 初始化人像SDK
}
import BaiduFace from "react-native-face-baidu";
// 人脸图像采集
BaiduFace.detect();
// 活体检测
BaiduFace.liveness()
欢迎提问交流;若有bug,请添加bug截图或代码片段,以便更快更好的解决问题。
欢迎大家一起交流
FAQs
封装百度人脸识别sdk
The npm package react-native-face-baidu receives a total of 0 weekly downloads. As such, react-native-face-baidu popularity was classified as not popular.
We found that react-native-face-baidu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.