Skip to content

Commit

Permalink
Notebook Update with Successfully Playing Video in Cell
Browse files Browse the repository at this point in the history
  • Loading branch information
neha845 committed Sep 27, 2024
1 parent 0fb99e4 commit 493403d
Showing 1 changed file with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -984,30 +984,21 @@
"bbox_data = ssd.predict(img_file, threshold=0.1, visualize=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Detecting pavement cracks from video feed"
]
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 26,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<video src=\"../../static/video/road_crack_prediction.mp4\" controls >\n",
" Your browser does not support the <code>video</code> element.\n",
" </video>"
"<style>.video-container{display:grid;justify-items:center;align-items:center;position:relative;width:100%;height:100%;min-height:400px;overflow:hidden}.video-container iframe{position:absolute;z-index:1;top:50%;left:50%;min-width:100%;min-height:100%;transform:translate(-50%,-50%)}</style><div class=\"video-container\"><iframe id=\"kmsembed-1_61k6sy6f\" width=\"608\" height=\"402\" src=\"https://mediaspace.esri.com/embed/secure/iframe/entryId/1_61k6sy6f/uiConfId/49806163/st/0\" class=\"kmsembed\" allowfullscreen webkitallowfullscreen mozallowfullscreen allow=\"autoplay *; fullscreen *; encrypted-media *\" referrerpolicy=\"no-referrer-when-downgrade\" sandbox=\"allow-downloads allow-forms allow-same-origin allow-scripts allow-top-navigation allow-pointer-lock allow-popups allow-modals allow-orientation-lock allow-popups-to-escape-sandbox allow-presentation allow-top-navigation-by-user-activation\" frameborder=\"0\" title=\"Road crack prediction\"></iframe></div>"
],
"text/plain": [
"<IPython.core.display.Video object>"
"<IPython.core.display.HTML object>"
]
},
"execution_count": 5,
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1019,6 +1010,13 @@
" resize=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Detecting pavement cracks from video feed"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -1458,9 +1456,9 @@
"notebookRuntimeVersion": ""
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python [conda env:conda-new] *",
"language": "python",
"name": "python3"
"name": "conda-env-conda-new-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -1472,7 +1470,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 493403d

Please sign in to comment.