www.signlanguagerecognition.matsworld.io
Open in
urlscan Pro
2001:1ab0:7e1e:151:62:109:154:84
Public Scan
URL:
https://www.signlanguagerecognition.matsworld.io/
Submission: On June 21 via api from US — Scanned from DE
Submission: On June 21 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
packages = ["matplotlib", "pandas"] # Import libraries import pandas as pd import matplotlib.pyplot as plt # import pyscript from js import document, params, filters, clearResultsArea, createSignInResultsPane, createObject from pyodide.ffi import create_proxy from pyodide.http import open_url createObject(create_proxy(globals()), "pyodideGlobals") def handleClearFilters(evt): #print(params.get("hi")) pass handle_proxy = create_proxy(handleClearFilters) clearFiltersButton = document.getElementById("clear-button") clearFiltersButton.addEventListener("click", handle_proxy) # pred_order = [int(i) for i in params.get("pred").split(",")] pred_conf = [int(i) for i in params.get("conf").split(",")] # todo reimplement -- read from URL (FTP) df = pd.read_csv(open_url("https://data.matsworld.io/spoter/final-gloss-specifier.csv"), encoding="utf-8") df = df.fillna("—") # createSignInResultsPane("Make", "gif/2.gif", 8) def redrawResultsTable(): clearResultsArea() for (item_wlasl_id, item_pred_conf) in zip(pred_order, pred_conf): selected_gloss = df[df["WLASL Identifier"] == item_wlasl_id].to_dict(orient='records')[0] if filters.movement: if selected_gloss["Movement"] != filters.movement: continue if filters.hands: if selected_gloss["Number of Hands"] != filters.hands: continue if filters.location: if selected_gloss["Location"] != filters.location: continue if filters.handshape: if selected_gloss["Handshape"].lower() != filters.handshape.lower(): continue handshapeCap = selected_gloss["Handshape"][0:1].upper() + selected_gloss["Handshape"][1:] tag_0 = """Movement: """ tag_1 = """, # Hands: """ tag_2 = """, Location: """ tag_3 = """, Handshape: """ desc = tag_0 + selected_gloss["Movement"].capitalize() + tag_1 + selected_gloss["Number of Hands"].capitalize() + tag_2 + selected_gloss["Location"].capitalize() + tag_3 + handshapeCap createSignInResultsPane(selected_gloss["Sign"].lower().capitalize(), "https://data.matsworld.io/signlanguagerecognition/gif/" + str(item_wlasl_id) + ".gif", item_pred_conf, desc) redrawResultsTable() ANALYSIS DETAIL Back Reset filter -------------------------------------------------------------------------------- * Movement * Uni-directional * Non-repeated * Repeated * # Hands * One-handed * Two-handed * Location * In space * Face * Headside * Palm * Hand * Arm * Torso * Other * Handshape Applied filter: None HANDSHAPE FILTER Confirm Downloading pyodide-0.23.2... Python startup... Python ready! Setting up virtual environment...