Changes between Initial Version and Version 1 of tutorials/smart-city


Ignore:
Timestamp:
Oct 31, 2019, 1:50:57 AM (5 years ago)
Author:
wuyangzhang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • tutorials/smart-city

    v1 v1  
     1=== Smart City
     2
     3Smart city is a demo application that shows how to deploy a real-time edge application on COMOS. This application takes the real-time video streaming as the input, running deep learning algorithms to detect object of interest, and putting masks upon them.
     4
     5The video camera is installed on Amsterdam Avenue, NY and delivers various resolutions at different frame rates. In this demo, we take H265 640 x 480 Constant rate 30 fps with 1024 Kbps. The backend object masking algorithm comes from the latest research work at Facebook https://github.com/facebookresearch/maskrcnn-benchmark.
     6
     7=== Pre-set-up:
     81. Create a reservation
     91. Log into the console
     101. Load image: {{{ omf load -t srv3-lg1.bed.cosmos-lab.org -i baseline.ndz -r 40}}}
     111. Turn the node on: {{{ omf tell -a on -t srv3-lg1.bed.cosmos-lab.org }}}
     12
     13Next, we download a pre-configured container in order to minimize your experimental efforts.
     14
     15{{{docker push qingshanyouyou/smartcity:tagname}}}
     16
     17Go to the container.
     18
     19{{{nvidia-docker container run -it qingshanyouyou/smartcity:tagname bash}}}
     20
     21Go to the script folder.
     22
     23{{{cd /maskrcnn-benchmark/demo}}}
     24
     25Run the python script.
     26
     27{{{python smartcity.py}}}
     28
     29After running the python script, you will get the output video file named "output.avi". Note that we take a file to record the real-time processing result because of the slow forwarding speed from X11.
     30
     31Now, enjoy the video!