Skip to content

Commit

Permalink
tutorial: license plate detection notebook to demonstrate fuzzy join (#…
Browse files Browse the repository at this point in the history
…651)

Added a notebook which does a Fuzzy Join between an image table and a
structured table to detect the license plates in a image dataset.

---------

Co-authored-by: jarulraj <arulraj@gatech.edu>
  • Loading branch information
ashmitaraju and jarulraj committed May 8, 2023
1 parent a2eeed9 commit 689a481
Show file tree
Hide file tree
Showing 13 changed files with 534 additions and 221 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ tutorials/*.py
*.pth
*.pt
tutorials/bddtest.zip
tutorials/license.zip
license/
bddtest/

# benchmark
Expand Down
Binary file added data/license/Cars0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/license/Cars1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/license/Cars2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/license/Cars3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/license/Cars4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/license/Cars5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/license/Cars6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions tutorials/01-mnist.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"id": "258b9f89",
"metadata": {},
Expand Down Expand Up @@ -28,6 +29,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "a0dcaceb",
"metadata": {},
Expand Down Expand Up @@ -87,6 +89,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "fd554c08",
"metadata": {},
Expand Down Expand Up @@ -132,6 +135,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "6d64d3b6",
"metadata": {},
Expand Down Expand Up @@ -177,13 +181,14 @@
"source": [
"cursor.execute('DROP TABLE MNISTVid')\n",
"response = cursor.fetch_all()\n",
"print(response)\n",
"response.as_df()\n",
"cursor.execute('LOAD VIDEO \"mnist.mp4\" INTO MNISTVid')\n",
"response = cursor.fetch_all()\n",
"print(response)"
"response.as_df()"
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "6450f505",
"metadata": {},
Expand Down Expand Up @@ -227,6 +232,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "686adeb5",
"metadata": {},
Expand Down Expand Up @@ -267,10 +273,11 @@
" IMPL 'eva_mnist_udf.py'\n",
" \"\"\")\n",
"response = cursor.fetch_all()\n",
"print(response)"
"response.as_df()"
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "7bbd789e",
"metadata": {},
Expand Down Expand Up @@ -369,6 +376,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "d81ed233",
"metadata": {},
Expand Down Expand Up @@ -419,14 +427,6 @@
"\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b78730fd",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -445,7 +445,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.10.8"
},
"varInspector": {
"cols": {
Expand Down
Loading

0 comments on commit 689a481

Please sign in to comment.