react-native-vision-camera/docs
Marc Rousavy 4b4ea0ff33
fix: Fix UI Thread race condition in setFrameProcessor(...) (#265)
* fix: Fix UI Thread race condition in `setFrameProcessor(...)`

* Revert "fix: Fix UI Thread race condition in `setFrameProcessor(...)`"

This reverts commit 9c524e123cff6843d7d11db602a5027d1bb06b4b.

* Use `setImmediate` to call `setFrameProcessor(...)`

* Fix frame processor order of applying

* Add `enableFrameProcessor` prop that defines if a FP is added

* rename constant

* Implement `enableFrameProcessor` prop for Android and make `frameProcessorFps` faster

* link to troubleshooting guide

* Update TROUBLESHOOTING.mdx

* Add logs for use-cases

* fix log

* set initial frame processor in `onLayout` instead of `componentDidMount`
2021-07-12 15:16:03 +02:00
..
docs/guides fix: Fix UI Thread race condition in setFrameProcessor(...) (#265) 2021-07-12 15:16:03 +02:00
src Move Guides to docs/guides directory (#96) 2021-03-23 15:25:27 +01:00
static docs: Add Frame Processor benchmarks (#154) 2021-05-30 12:13:50 +02:00
.gitignore Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
babel.config.js Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
docusaurus.config.js chore: Clean up root directory (#236) 2021-07-06 16:42:58 +02:00
package.json chore(deps): bump @docusaurus/preset-classic in /docs (#250) 2021-07-07 16:17:27 +02:00
README.md Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
sidebars.js docs: Move ANIMATED -> ZOOMING 2021-06-09 12:46:26 +02:00
yarn.lock chore(deps): bump @docusaurus/preset-classic in /docs (#250) 2021-07-07 16:17:27 +02:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

Local Development

yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.