Back to Jetson Inference

{{ title }}

python/www/flask/templates/index.html

latest3.3 KB
Original Source

{% from 'macros.html' import checkbox, slider, card_header, collapse_handler %}

{{ title }} Your browser does not support video

{{ card_header('stream_controls', 'Streaming', arrow='down') }} {% if send_webrtc %} Webcam:

Send

{% else %} Input: {{ input_stream }}

{% endif %} Playback:

Play

Statistics:

{{ collapse_handler('stream_controls') }}

{% if classification|length %}

{{ card_header('classification_controls', 'Classification', classification) }} {{ checkbox('classification_enabled', '/classification/enabled', 'Classification Enabled') }} {{ slider('classification_confidence_threshold', '/classification/confidence_threshold', 'Confidence Threshold') }} {{ slider('classification_output_smoothing', '/classification/output_smoothing', 'Output Smoothing') }} {{ collapse_handler('classification_controls') }}

{% endif %} {% if detection|length %}

{{ card_header('detection_controls', 'Object Detection', detection) }} {{ checkbox('detection_enabled', '/detection/enabled', 'Detection Enabled') }} {{ slider('detection_confidence_threshold', '/detection/confidence_threshold', 'Confidence Threshold') }} {{ slider('detection_clustering_threshold', '/detection/clustering_threshold', 'Clustering Threshold') }} {{ slider('detection_overlay_alpha', '/detection/overlay_alpha', 'Overlay Alpha', min=0, max=255, step=1) }} {{ checkbox('detection_tracking_enabled', '/detection/tracking_enabled', 'Tracking Enabled', oninput='onDetectionTrackingEnabled()') }} {{ slider('detection_tracking_min_frames', '/detection/tracking_min_frames', 'Tracking Min Frames', min=0, max=60, step=1) }} {{ slider('detection_tracking_drop_frames', '/detection/tracking_drop_frames', 'Tracking Drop Frames', min=0, max=60, step=1) }} {{ slider('detection_tracking_overlap_threshold', '/detection/tracking_overlap_threshold', 'Overlap Threshold') }}

{{ collapse_handler('detection_controls') }}

{% endif %} {% if segmentation|length %}

{{ card_header('segmentation_controls', 'Segmentation', segmentation) }} {{ checkbox('segmentation_enabled', '/segmentation/enabled', 'Segmentation Enabled') }} {{ slider('segmentation_overlay_alpha', '/segmentation/overlay_alpha', 'Overlay Alpha', min=0, max=255, step=1) }} {{ collapse_handler('segmentation_controls') }}

{% endif %} {% if pose|length %}

{{ card_header('pose_controls', 'Pose Estimation', pose) }} {{ checkbox('pose_enabled', '/pose/enabled', 'Pose Enabled') }} {{ slider('pose_confidence_threshold', '/pose/confidence_threshold', 'Confidence Threshold') }} {{ collapse_handler('pose_controls') }}

{% endif %} {% if action|length %}

{{ card_header('action_controls', 'Action Recognition', action) }} {{ checkbox('action_enabled', '/action/enabled', 'Actions Enabled') }} {{ slider('action_confidence_threshold', '/action/confidence_threshold', 'Confidence Threshold') }} {{ slider('action_skip_frames', '/action/skip_frames', 'Skip Frames', min=0, max=30, step=1) }} {{ collapse_handler('action_controls') }}

{% endif %} {% if background|length %}

{{ card_header('background_controls', 'Background Removal', background) }} {{ checkbox('background_enabled', '/background/enabled', 'Removal Enabled') }} {{ collapse_handler('background_controls') }}

{% endif %}