mirror of
https://github.com/ColonelParrot/jscanify.git
synced 2025-12-30 22:31:52 +00:00
jscanify: bump to 1.1
This commit is contained in:
parent
0f206c62ea
commit
9e062ee770
@ -1,4 +1,4 @@
|
|||||||
/*! jscanify v1.0.0 | (c) ColonelParrot and other contributors | MIT License */
|
/*! jscanify v1.1.0 | (c) ColonelParrot and other contributors | MIT License */
|
||||||
|
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
typeof exports === "object" && typeof module !== "undefined"
|
typeof exports === "object" && typeof module !== "undefined"
|
||||||
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds the contour of the paper within the image
|
* Finds the contour of the paper within the image
|
||||||
* @param {*} img image to process
|
* @param {*} img image to process (cv.Mat)
|
||||||
* @returns the biggest contour inside the image
|
* @returns the biggest contour inside the image
|
||||||
*/
|
*/
|
||||||
findPaperContour(img) {
|
findPaperContour(img) {
|
||||||
@ -267,8 +267,5 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof module !== "undefined") {
|
|
||||||
module.exports = { jscanify };
|
|
||||||
}
|
|
||||||
return jscanify;
|
return jscanify;
|
||||||
});
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user