Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-opencv

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-opencv - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "ngx-opencv",
"version": "1.0.1",
"version": "1.0.2",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^7.0.0",

@@ -50,13 +50,14 @@ # Ngx OpenCv

(cvState: OpenCVState) => {
// do something with the state string
this.cvState = cvState.state;
this.ready.emit(cvState.ready);
if (cvState.error) {
// handle errors
} else if (cvState.loading) {
// e.g. show loading indicator
} else if (cvState.ready) {
// do image processing stuff
}
// do something with the state string
this.cvState = cvState.state;
this.ready.emit(cvState.ready);
if (cvState.error) {
// handle errors
} else if (cvState.loading) {
// e.g. show loading indicator
} else if (cvState.ready) {
// do image processing stuff
}
});
}

@@ -63,0 +64,0 @@ **Note that loading and parsing of the OpenCV library is done synchronously, and might take some time while blocking execution of other processes, depending on client's device.** Therefore it's recommended to bind a loading indicator to the state observable.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc