From 4a6c9964e9dfaa470f09ae69af64bd0a217d9963 Mon Sep 17 00:00:00 2001 From: ColonelParrot <65585002+ColonelParrot@users.noreply.github.com> Date: Wed, 10 May 2023 15:31:25 -0400 Subject: [PATCH] README: include badges --- README.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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