Installations
npm install @unbogify/react-native-vision-camera
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
20.7.0
NPM Version
10.1.0
Releases
Contributors
Languages
Swift (37.45%)
TypeScript (25.49%)
Kotlin (18.46%)
C++ (6.77%)
Objective-C++ (5.62%)
Java (1.99%)
Objective-C (1.76%)
Ruby (0.9%)
JavaScript (0.71%)
Shell (0.44%)
CMake (0.4%)
C (0.01%)
Developer
Download Statistics
Total Downloads
1,410
Last Day
1
Last Week
1
Last Month
3
Last Year
244
GitHub Statistics
7,759 Stars
1,749 Commits
1,121 Forks
55 Watching
77 Branches
105 Contributors
Package Meta Information
Latest Version
2.15.4-unbogify.6
Package Id
@unbogify/react-native-vision-camera@2.15.4-unbogify.6
Unpacked Size
814.52 kB
Size
161.71 kB
File Count
292
NPM Version
10.1.0
Node Version
20.7.0
Publised On
02 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
1,410
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
-72.7%
3
Compared to previous month
Last year
-79.1%
244
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Peer Dependencies
2
Dev Dependencies
16
Vision Camera
‼️‼️‼️‼️‼️ ✨ VisionCamera V3 ‼️‼️‼️‼️‼️
See this discussion for the latest upcoming version of VisionCamera
Documentation
Features
- Photo, Video and Snapshot capture
- Customizable devices and multi-cameras (smoothly zoom out to "fish-eye" camera)
- Customizable FPS
- Frame Processors (JS worklets to run QR-Code scanning, facial recognition, AI object detection, realtime video chats, ...)
- Smooth zooming (Reanimated)
- Fast pause and resume
- HDR & Night modes
See the example app
Example
1function App() { 2 const devices = useCameraDevices('wide-angle-camera') 3 const device = devices.back 4 5 if (device == null) return <LoadingView /> 6 return ( 7 <Camera 8 style={StyleSheet.absoluteFill} 9 device={device} 10 isActive={true} 11 /> 12 ) 13}
Adopting at scale
VisionCamera is provided as is, I work on it in my free time.
If you're integrating VisionCamera in a production app, consider funding this project and contact me to receive premium enterprise support, help with issues, prioritize bugfixes, request features, help at integrating VisionCamera and/or Frame Processors, and more.
🚀 Get started by setting up permissions!
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
binaries present in source code
Details
- Warn: binary detected: example/android/gradle/wrapper/gradle-wrapper.jar:1
- Warn: binary detected: package/android/gradle/wrapper/gradle-wrapper.jar:1
Reason
branch protection is not maximal on development and all release branches
Details
- Info: 'allow deletion' disabled on branch 'main'
- Info: 'force pushes' disabled on branch 'main'
- Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'
- Warn: branch 'main' does not require approvers
- Warn: codeowners review is not required on branch 'main'
- Warn: no status checks found to merge onto branch 'main'
- Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings
Reason
Found 7/25 approved changesets -- score normalized to 2
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/build-android-release.yml:1
- Warn: no topLevel permission defined: .github/workflows/build-android.yml:1
- Warn: no topLevel permission defined: .github/workflows/build-ios.yml:1
- Warn: no topLevel permission defined: .github/workflows/compress-images.yml:1
- Warn: topLevel 'contents' permission set to 'write': .github/workflows/update-lockfiles.yml:16
- Warn: no topLevel permission defined: .github/workflows/validate-android.yml:1
- Warn: no topLevel permission defined: .github/workflows/validate-cpp.yml:1
- Warn: no topLevel permission defined: .github/workflows/validate-ios.yml:1
- Warn: no topLevel permission defined: .github/workflows/validate-js.yml:1
- Info: no jobLevel write permissions found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
Project has not signed or included provenance with any releases.
Details
- Warn: release artifact v4.6.3 not signed: https://api.github.com/repos/mrousavy/react-native-vision-camera/releases/187297012
- Warn: release artifact v4.6.3 does not have provenance: https://api.github.com/repos/mrousavy/react-native-vision-camera/releases/187297012
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android-release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android-release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android-release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-android-release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android-release.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android-release.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-android.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-android.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-android.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-android.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-ios.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-ios.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-ios.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-ios.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-ios.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-ios.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-ios.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-ios.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-ios.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-ios.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/build-ios.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compress-images.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/compress-images.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/compress-images.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/compress-images.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-lockfiles.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/update-lockfiles.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-lockfiles.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/update-lockfiles.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-lockfiles.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/update-lockfiles.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-android.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-android.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-android.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-android.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-android.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-android.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-cpp.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-cpp.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-cpp.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-cpp.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-ios.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-ios.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-ios.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-ios.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-ios.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-ios.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-js.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-js.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-js.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-js.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-js.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-js.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-js.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-js.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-js.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/mrousavy/react-native-vision-camera/validate-js.yml/main?enable=pin
- Info: 0 out of 23 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 18 third-party GitHubAction dependencies pinned
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 18 are checked with a SAST tool
Score
4.3
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More