Comments (2)
I'm also facing this issue, and currently the only workaround I can think of is using JS dynamic imports to try catch loading the module.
If the package could at least provide a No-op VisionCamera implementation for web that returns null devices or fails on call rather than on import, that could be a potential temporary solution.
from react-native-vision-camera.
As the error message states, VisionCamera does not work on Web.
I am not using Web myself, so I've never seen that error before.
For Web, you should use web camera APIs instead.
from react-native-vision-camera.
Related Issues (20)
- [V4][Android] Orientation prop landscape-left and landscape-right seems to produce inverted images 🐛 HOT 1
- [V4][Android] - The returned captured image dimensions is different from the output of `Image.getSize` 🐛 HOT 3
- 🐛 `EUNSPECIFIED - quality` from `takeSnapshot()` on Pixel 3a (Android 12) HOT 1
- 💭 error installing v4 HOT 2
- [v3.9.2][Android] Race condition if takeFocus is called too frequently 🐛 HOT 5
- 🐛 Android device reports back camera has one physical device when three present HOT 12
- 💭 Use Vision Camera as Light Meter HOT 4
- 💭 How to create boilerplate for frame processors? HOT 3
- 🐛 camera keeps being restarted when using codeScanner HOT 11
- 🐛 Camera really broken. Doesn't fix flat tires HOT 3
- Hello! Love the work you've done, but I am having issues trying to send frames from my mobile app to my flask backend over websockets.💭 HOT 12
- 🐛 Document typo(android frame processor plugin) HOT 1
- 💭4.0.1 unable to run HOT 1
- 🔧 4.0.1 unable to run HOT 1
- 🐛 runAsync not executing or app crash HOT 21
- Which Slider Library are we using in ShadowLens app for Exposure? 💭 HOT 1
- build error HOT 1
- IllegalArgumentException: getCameraCharacteristics:1278: Unable to retrieve camera characteristics for unknown device 0: No such file or directory (-2)🐛 HOT 1
- 💭 Wait to focus when im using flash
- 🐛 Android ImageAnalysis setBackpressureStrategy STRATEGY_BLOCK_PRODUCER causing lag with OCR libraries HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-vision-camera.