diff --git a/README.md b/README.md index cfebaf3..be59ad6 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,10 @@
+
+
+
+
@@ -22,8 +26,8 @@ Available on npm or via |
|
|
|
|
@@ -80,9 +84,10 @@ image.onload = function () {
The following code continuously reads from the user's camera and highlights the paper:
```html
-
-
-
+
+
+
+
```
```js
@@ -104,6 +109,8 @@ navigator.mediaDevices.getUserMedia({ video: true }).then((stream) => {
```
To export the paper to a PDF, see [here](https://stackoverflow.com/questions/23681325/convert-canvas-to-pdf)
+
### Notes
+
- for optimal paper detection, the paper should be placed on a flat surface with a solid background color
-- we recommend wrapping your code using `jscanify` in a window `load` event listener to ensure OpenCV is loaded
\ No newline at end of file
+- we recommend wrapping your code using `jscanify` in a window `load` event listener to ensure OpenCV is loaded