![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
vision-camera-dynamsoft-label-recognizer
Advanced tools
React Native Vision Camera Frame Processor Plugin of Dynamsoft Label Recognizer
React Native Vision Camera Frame Processor Plugin of Dynamsoft Label Recognizer
For vision-camera v2, use versions 0.x.
For vision-camera v3, use versions 1.x.
For vision-camera v4, use versions >= 2.0.0.
Product | Android | iOS |
---|---|---|
Dynamsoft Label Recognizer | 3.4.20 | 3.4.20 |
yarn add vision-camera-dynamsoft-label-recognizer
cd ios && pod install
Add the plugin to your babel.config.js
:
module.exports = {
plugins: [['react-native-worklets-core/plugin']],
// ...
Note: You have to restart metro-bundler for changes in the
babel.config.js
file to take effect.
Scan text with vision camera.
import { recognize } from 'vision-camera-dynamsoft-label-recognizer';
// ...
const frameProcessor = useFrameProcessor((frame) => {
'worklet';
const scanResult = recognize(frame);
}, []);
Scan text from base64-encoded static images.
const scanResult = await decodeBase64(base64);
License initialization (apply for a trial license).
await initLicense("your license");
Scanning configuration:
//the value is in percentage
export interface ScanRegion{
left: number;
top: number;
width: number;
height: number;
}
export interface ScanConfig{
scanRegion?: ScanRegion;
includeImageBase64?: boolean;
template?: String;
}
About the result:
export interface ScanResult {
results: DLRResult[];
imageBase64?: string;
}
export interface DLRResult {
lineResults: DLRLineResult[];
}
export interface Quadrilateral{
points:Point[];
}
export interface Point {
x:number;
y:number;
}
export interface DLRLineResult {
text: string;
confidence: number;
characterResults: DLRCharacherResult[];
lineSpecificationName: string;
location: Quadrilateral;
}
export interface DLRCharacherResult {
characterH: string;
characterM: string;
characterL: string;
characterHConfidence: number;
characterMConfidence: number;
characterLConfidence: number;
location: Quadrilateral;
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
React Native Vision Camera Frame Processor Plugin of Dynamsoft Label Recognizer
The npm package vision-camera-dynamsoft-label-recognizer receives a total of 24 weekly downloads. As such, vision-camera-dynamsoft-label-recognizer popularity was classified as not popular.
We found that vision-camera-dynamsoft-label-recognizer 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.