
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
react-native-vision-camera-image-labeler
Advanced tools
A plugin to label images using ML Kit Image Labeler. With High Performance.
A plugin to label images using ML Kit Image Labeler. With High Performance.
react-native-vision-camera => 4.5.1
react-native-worklets-core = 1.3.3
npm install react-native-vision-camera-image-labeler
yarn add react-native-vision-camera-image-labeler
Easy To Use.
Works Just Writing few lines of Code.
Works With React Native Vision Camera.
Works for Both Cameras.
Works Fast.
Works With Android 🤖 and IOS.📱
Writen With Kotlin and Swift.
Can Scan Image From Photo. 📸
import React, { useState } from 'react'
import { useCameraDevice } from 'react-native-vision-camera'
import { Camera } from 'react-native-vision-camera-image-labeler';
function App (){
const [data,setData] = useState(null)
const device = useCameraDevice('back');
console.log(data)
return(
<>
{!!device && (
<Camera
style={StyleSheet.absoluteFill}
device={device}
isActive
// Optional
options={{
minConfidence: 0.1
}}
callback={(d) => setData(d)}
/>
)}
</>
)
}
import React from 'react';
import { StyleSheet } from "react-native";
import {
Camera,
useCameraDevice,
useFrameProcessor,
} from "react-native-vision-camera";
import { useImageLabeler } from "react-native-vision-camera-image-labeler";
function App() {
const device = useCameraDevice('back');
const options = {minConfidence : 0.1} // Optional
const {labelerImage} = useImageLabeler({minConfidence : 0.1})
const frameProcessor = useFrameProcessor((frame) => {
'worklet'
const data = labelerImage(frame)
console.log(data, 'data')
}, [])
return (
<>
{!!device && (
<Camera
style={StyleSheet.absoluteFill}
device={device}
isActive
frameProcessor={frameProcessor}
/>
)}
</>
);
}
export default App;
Name | Type | Values | Default |
---|---|---|---|
minConfidence | Number | 0.1 - 1.0 | 1.0 |
import { ImageScanner } from "react-native-vision-camera-image-labeler";
const result = await ImageScanner({
uri:assets.uri,
orientation: "portrait",
minConfidence: 1.0
})
console.log(result);
Name | Type | Values | Required | Default | Platform |
---|---|---|---|---|---|
uri | string | yes | android, iOS | ||
orientation | string | portrait, portraitUpsideDown, landscapeLeft, landscapeRight | no | portrait | iOS |
minConfidence | number | 0.1 ~ 1.0 | no | 1.0 | android,iOS |
FAQs
A plugin to label images using ML Kit Image Labeler. With High Performance.
The npm package react-native-vision-camera-image-labeler receives a total of 263 weekly downloads. As such, react-native-vision-camera-image-labeler popularity was classified as not popular.
We found that react-native-vision-camera-image-labeler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.