In this tutorial, you will be able to run a very simple pipeline that detects edges in a video file.
- Open YonoArc by clicking its icon on Yonohub’s main view.
- Add the Video Player block.
- Click the + button on the upper-left corner.
- Drag the Video Player block from the Input toolbox to the canvas in the middle. This block reads a video file and outputs its individual images at the desired frame rate.
- Click the settings icon on the block to set its properties.
- Set the Video File Path by clicking Browse and selecting the sample video /MyDrive/cars.mp4 then clicking Open.
- Add the Edge Detection block from the Perception toolbox to the canvas. This block detects edges in the input image.
- Add a Video Viewer block to view the original video. Set its properties to:
- Title: Original Video
- Description: This is the original unprocessed video.
- Add a second Video Viewer block to view the edge detection results. Set its properties to:
- Title: Detected Edges
- Description: This is the edge detection results.
- Connect the blocks of the pipeline as shown above:
- The output port of the Video Player block to the input port of the Edge Detection block.
- The output port of the Video Player block to the input port of the first Video Viewer block.
- The output port of the Edge Detection block to the input port of the second Video Viewer block.
- Click Launch. You will be asked to save the pipeline first. Rename the file to “HelloYonoArc.arc” and click Save.
- Click the dashboard button on the lower-left corner of the canvas after the button gets enabled. The dashboard opens in a new tab and you can see the original video along with the edge detection results as shown below.
- Click Terminate to terminate the pipeline and release the resources.