@techstark/opencv-js 4.5.2-release.1 → 4.5.4-release.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,19 +1,30 @@
1
1
  # opencv-js
2
- OpenCV JavaScript version for node.js or browser. The file `opencv.js` was downloaded from https://docs.opencv.org/4.5.2/opencv.js
2
+
3
+ OpenCV JavaScript version (NPM package) for node.js or browser. The file `opencv.js` was downloaded from https://docs.opencv.org/4.5.4/opencv.js
3
4
 
4
5
  TypeScript is supported (thanks to `mirada`).
5
6
 
6
7
  # Examples & Live Demo
8
+
7
9
  ## Using in react.js project
8
- - See [live demo here](https://codesandbox.io/s/techstarkopencv-js-demo-page-f7gvk)
9
- - See example in [TestPage.js](examples/react.js/TestPage.js)
10
+
11
+ - See [live demo and code here](https://codesandbox.io/s/techstarkopencv-js-demo-page-f7gvk)
12
+ <img src="https://user-images.githubusercontent.com/132509/130320696-eaa3899b-2356-4e9f-bbc9-0a969465c58e.png" height="800px" alt="Live demo screenshot" />
13
+ - Get the test image from here [Lenna.png](test/Lenna.png)
14
+
15
+ ## Real-time face detection
16
+
17
+ - See [live demo and code here](https://codesandbox.io/s/opencv-js-face-detection-i1i3u)
10
18
 
11
19
  # How to Use
20
+
12
21
  - `npm install @techstark/opencv-js`
13
22
  - or `yarn add @techstark/opencv-js`
14
23
 
15
24
  # Webpack Configuration (for browser usage)
16
- If you use this package for browsers, you need to set some polyfills. In the file "webpack.config.js", set
25
+
26
+ If you use this package for browsers, you need to set some polyfills. In the file "webpack.config.js", set
27
+
17
28
  ```js
18
29
  module.exports = {
19
30
  resolve: {