Skip to content

Commit 493403d

Browse files
committed
Notebook Update with Successfully Playing Video in Cell
1 parent 0fb99e4 commit 493403d

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

samples/04_gis_analysts_data_scientists/automate_road_surface_investigation_using_deep_learning.ipynb

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -984,30 +984,21 @@
984984
"bbox_data = ssd.predict(img_file, threshold=0.1, visualize=True)"
985985
]
986986
},
987-
{
988-
"cell_type": "markdown",
989-
"metadata": {},
990-
"source": [
991-
"### Detecting pavement cracks from video feed"
992-
]
993-
},
994987
{
995988
"cell_type": "code",
996-
"execution_count": 5,
989+
"execution_count": 26,
997990
"metadata": {},
998991
"outputs": [
999992
{
1000993
"data": {
1001994
"text/html": [
1002-
"<video src=\"../../static/video/road_crack_prediction.mp4\" controls >\n",
1003-
" Your browser does not support the <code>video</code> element.\n",
1004-
" </video>"
995+
"<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>"
1005996
],
1006997
"text/plain": [
1007-
"<IPython.core.display.Video object>"
998+
"<IPython.core.display.HTML object>"
1008999
]
10091000
},
1010-
"execution_count": 5,
1001+
"execution_count": 26,
10111002
"metadata": {},
10121003
"output_type": "execute_result"
10131004
}
@@ -1019,6 +1010,13 @@
10191010
" resize=True)"
10201011
]
10211012
},
1013+
{
1014+
"cell_type": "markdown",
1015+
"metadata": {},
1016+
"source": [
1017+
"### Detecting pavement cracks from video feed"
1018+
]
1019+
},
10221020
{
10231021
"cell_type": "markdown",
10241022
"metadata": {},
@@ -1458,9 +1456,9 @@
14581456
"notebookRuntimeVersion": ""
14591457
},
14601458
"kernelspec": {
1461-
"display_name": "Python 3 (ipykernel)",
1459+
"display_name": "Python [conda env:conda-new] *",
14621460
"language": "python",
1463-
"name": "python3"
1461+
"name": "conda-env-conda-new-py"
14641462
},
14651463
"language_info": {
14661464
"codemirror_mode": {
@@ -1472,7 +1470,7 @@
14721470
"name": "python",
14731471
"nbconvert_exporter": "python",
14741472
"pygments_lexer": "ipython3",
1475-
"version": "3.11.0"
1473+
"version": "3.11.9"
14761474
}
14771475
},
14781476
"nbformat": 4,

0 commit comments

Comments
 (0)