# @entria/react-native-face-recognition

> Allow facial recognition in React Native applications

Latest version **0.0.3** (published 2017-12-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @entria/react-native-face-recognition
pnpm add @entria/react-native-face-recognition
yarn add @entria/react-native-face-recognition
bun add @entria/react-native-face-recognition
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-12-07 |
| First published | 2017-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Entria - The Tech Team |
| Maintainers | augusto.lazaro, jgcmarins, felippepuhle, jcm, rodrigooler, rturk, sibelius |
| Keywords | react-native, android, ios, face-recognition |

## Links

- npm: https://www.npmjs.com/package/@entria/react-native-face-recognition
- Repository: https://github.com/entria/react-native-face-recognition
- Homepage: https://github.com/entria/react-native-face-recognition#readme
- Issues: https://github.com/entria/react-native-face-recognition/issues
- npm.io page: https://npm.io/package/@entria/react-native-face-recognition

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2017-12-07
- 0.0.2 — 2017-12-07
- 0.0.1 — 2017-10-28

## README

# react-native-face-recognition

## Getting started

`$ npm install react-native-face-recognition --save`

### Mostly automatic installation

`$ react-native link react-native-face-recognition`

### Manual installation


#### iOS

1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
2. Go to `node_modules` ➜ `react-native-face-recognition` and add `RNFaceRecognition.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRNFaceRecognition.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
4. Run your project (`Cmd+R`)<

#### Android

1. Open up `android/app/src/main/java/[...]/MainActivity.java`
  - Add `import com.reactlibrary.RNFaceRecognitionPackage;` to the imports at the top of the file
  - Add `new RNFaceRecognitionPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
  	```
  	include ':react-native-face-recognition'
  	project(':react-native-face-recognition').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-face-recognition/android')
  	```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
  	```
      compile project(':react-native-face-recognition')
  	```

#### Windows
[Read it! :D](https://github.com/ReactWindows/react-native)

1. In Visual Studio add the `RNFaceRecognition.sln` in `node_modules/react-native-face-recognition/windows/RNFaceRecognition.sln` folder to their solution, reference from their app.
2. Open up your `MainPage.cs` app
  - Add `using Face.Recognition.RNFaceRecognition;` to the usings at the top of the file
  - Add `new RNFaceRecognitionPackage()` to the `List<IReactPackage>` returned by the `Packages` method


## Usage
```javascript
import RNFaceRecognition from 'react-native-face-recognition';

// TODO: What to do with the module?
RNFaceRecognition;
```

---
_Source: https://npm.io/package/@entria/react-native-face-recognition · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
