Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vision-camera-dynamsoft-document-normalizer
Advanced tools
Readme
A React Native Vision Camera frame processor plugin for Dynamsoft Document Normalizer.
It can detect document boundaries and run perspective transformation to get a normalized image.
For vision-camera v2, use versions 0.x.
For vision-camera v3, use versions 1.x - 2.x.
For vision-camera v4, use versions >= 3.0.0.
yarn add vision-camera-dynamsoft-document-normalizer
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 documents with vision camera.
import { detect } from 'vision-camera-dynamsoft-document-normalizer';
// ...
const frameProcessor = useFrameProcessor((frame) => {
'worklet';
const detectionResults = detect(frame);
}, []);
Scan documents from a file.
let detectionResults = await detectFile(photoPath);
Normalize a document image with the detection result.
let normalizedImageResult = await normalizeFile(photoPath, detectionResult.location,{saveNormalizationResultAsFile:true});
License initialization (apply for a trial license).
await initLicense("your license");
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
A React Native Vision Camera frame processor plugin for Dynamsoft Document Normalizer which can be used to create a document scanner.
The npm package vision-camera-dynamsoft-document-normalizer receives a total of 97 weekly downloads. As such, vision-camera-dynamsoft-document-normalizer popularity was classified as not popular.
We found that vision-camera-dynamsoft-document-normalizer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.