New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-mediapipe-facemesh

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

react-native-mediapipe-facemesh

Mediapipe Facemesh fplugin or React Native

  • 0.5.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

react-native-mediapipe-facemesh

Mediapipe Facemesh fplugin or React Native

WIP Currently can build, but crashes due to glog mutex somehow being stupid and throwing SIGABRT (abort()) when calling inside the react native bridge. I suspect MediaPipe usage of glog might conflict with React Native's extensive usage.

Changing this zone at /ios/Pods/glog/src/base/mutex.h makes it work (Basically making glog's mutex useless). From

#define SAFE_PTHREAD(fncall)  do {   /* run fncall if is_safe_ is true */  \
  if (is_safe_ && fncall(&mutex_) != 0) abort();                           \
} while (0)

to

#define SAFE_PTHREAD(fncall)  do {   /* run fncall if is_safe_ is true */  \
if (is_safe_ && fncall(&mutex_) != 0) {} /*{ printf("killing app because is safe and fncall is not zero :("); abort();}*/\
} while (0)

Installation

npm install react-native-mediapipe-facemesh

Usage

import MediapipeFacemesh from "react-native-mediapipe-facemesh";

// ...

const result = await MediapipeFacemesh.multiply(3, 7);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

FAQs

Package last updated on 23 Sep 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