diff --git a/.ipynb_checkpoints/openCV_scanner-checkpoint.ipynb b/.ipynb_checkpoints/openCV_scanner-checkpoint.ipynb index 49bad8c5544aa1624eb340a518d9ebe7e59f2d60..26bf1613995e5fa06b73d9ca31915aa6c476f5e8 100644 --- a/.ipynb_checkpoints/openCV_scanner-checkpoint.ipynb +++ b/.ipynb_checkpoints/openCV_scanner-checkpoint.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": { "scrolled": true }, @@ -23,7 +23,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -40,7 +40,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -82,7 +82,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ @@ -105,7 +105,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -147,7 +147,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ @@ -184,7 +184,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 8, "metadata": {}, "outputs": [], "source": [ @@ -215,7 +215,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 9, "metadata": {}, "outputs": [], "source": [ @@ -234,7 +234,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 10, "metadata": {}, "outputs": [], "source": [ @@ -306,13 +306,12 @@ " if found:\n", " points = np.array([[10,10], [width-11, 10], [width-11, height-11], [10, height-11]])\n", " return points\n", - "\n", " " ] }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 11, "metadata": {}, "outputs": [], "source": [ @@ -344,7 +343,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 12, "metadata": {}, "outputs": [], "source": [ @@ -384,7 +383,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 13, "metadata": {}, "outputs": [], "source": [ @@ -418,13 +417,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "./modified/bookcover.jpg\n", "./modified/example.jpg\n", - "./modified/example2.jpg\n", - "./modified/example3.jpg\n", - "./modified/framework1821.jpg\n", - "./modified/receipt.jpg\n", - "./modified/tilted_document.jpg\n", + "./modified/example4.jpg\n", "PDF generated successfully!\n" ] } diff --git a/Open_CV report.hwp b/Open_CV report.hwp new file mode 100644 index 0000000000000000000000000000000000000000..b8c9c004a5c001e2402f3ea0ecc0bbaa931ae9bf Binary files /dev/null and b/Open_CV report.hwp differ diff --git a/contour/example4.jpg b/contour/example4.jpg new file mode 100644 index 0000000000000000000000000000000000000000..25624cb67d75d44cfbdb1ff370786d0baeef957e Binary files /dev/null and b/contour/example4.jpg differ diff --git a/contour/framework1821.jpg b/contour/framework1821.jpg index 6f5fb4cf045942e8664282bf95f45ca4a8457b85..bbea9218a9409d02fd2778bc738040915569203f 100644 Binary files a/contour/framework1821.jpg and b/contour/framework1821.jpg differ diff --git a/contour/receipt.jpg b/contour/receipt.jpg index 4278be820e9a4b0f3e0c11e8eb89200c2fea6e85..3367d6be2665d676770771402ab631654da9e75c 100644 Binary files a/contour/receipt.jpg and b/contour/receipt.jpg differ diff --git a/images/example4.jpg b/images/example4.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d0c7785ce02a24bd49c776dac98df58d66c0eace Binary files /dev/null and b/images/example4.jpg differ diff --git a/modified/bookcover.jpg b/modified/bookcover.jpg index dccd80c5c865e70169236e02e8875daa5ca6b1da..862300cfe603a5b17be5f49205c2767cec11d2c6 100644 Binary files a/modified/bookcover.jpg and b/modified/bookcover.jpg differ diff --git a/modified/example4.jpg b/modified/example4.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a74f91914b997f594735c455778cd2c6d8d3df14 Binary files /dev/null and b/modified/example4.jpg differ diff --git a/modified/framework1821.jpg b/modified/framework1821.jpg index d079af505384e327061a17e77227b75e63a4ae5e..d5154501bfd76db9c9be3ed975f5e7919b60bec8 100644 Binary files a/modified/framework1821.jpg and b/modified/framework1821.jpg differ diff --git a/modified/image_list.pdf b/modified/image_list.pdf index 20b9d8be93d26aa97cfa58c636ccb6665a7e0051..ac4620c346cccfb25b2552285acd1d955c4c8903 100644 Binary files a/modified/image_list.pdf and b/modified/image_list.pdf differ diff --git a/modified/receipt.jpg b/modified/receipt.jpg index 33b4f919743b956fc90c21649a2af2a678a10ea9..b52adbd82f3bf82aeb1898d87ac8976ed265972b 100644 Binary files a/modified/receipt.jpg and b/modified/receipt.jpg differ diff --git a/openCV_scanner.ipynb b/openCV_scanner.ipynb index 49bad8c5544aa1624eb340a518d9ebe7e59f2d60..3531fe9516123258a18806f60edd1e4f6bc3dedf 100644 --- a/openCV_scanner.ipynb +++ b/openCV_scanner.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 29, "metadata": { "scrolled": true }, @@ -23,7 +23,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 30, "metadata": {}, "outputs": [], "source": [ @@ -40,7 +40,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 31, "metadata": {}, "outputs": [], "source": [ @@ -82,7 +82,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 32, "metadata": {}, "outputs": [], "source": [ @@ -105,7 +105,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 33, "metadata": {}, "outputs": [], "source": [ @@ -147,7 +147,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 34, "metadata": {}, "outputs": [], "source": [ @@ -184,7 +184,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 35, "metadata": {}, "outputs": [], "source": [ @@ -215,7 +215,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 36, "metadata": {}, "outputs": [], "source": [ @@ -234,7 +234,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 37, "metadata": {}, "outputs": [], "source": [ @@ -306,13 +306,12 @@ " if found:\n", " points = np.array([[10,10], [width-11, 10], [width-11, height-11], [10, height-11]])\n", " return points\n", - "\n", " " ] }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 38, "metadata": {}, "outputs": [], "source": [ @@ -344,7 +343,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 39, "metadata": {}, "outputs": [], "source": [ @@ -384,7 +383,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 40, "metadata": {}, "outputs": [], "source": [ @@ -409,26 +408,11 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "metadata": { "scrolled": true }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "./modified/bookcover.jpg\n", - "./modified/example.jpg\n", - "./modified/example2.jpg\n", - "./modified/example3.jpg\n", - "./modified/framework1821.jpg\n", - "./modified/receipt.jpg\n", - "./modified/tilted_document.jpg\n", - "PDF generated successfully!\n" - ] - } - ], + "outputs": [], "source": [ "mouse_is_pressing = False\n", "image_path = './images/'\n",