1. Home
  2. Docs
  3. Yonohub
  4. Tutorials
  5. Hello YonoArc

Hello YonoArc

In this tutorial, you will be able to run a very simple pipeline that detects edges in a video file.

  1. Open YonoArc by clicking its icon on Yonohub’s main view.
  2. 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.
  3. Add the Edge Detection block from the Perception toolbox to the canvas. This block detects edges in the input image.
  4. Add a Video Viewer block to view the original video. Set its properties to:
    • Title: Original Video
    • Description: This is the original unprocessed video.
  5. 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.
  6. 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.
  7. Click Launch. You will be asked to save the pipeline first. Rename the file to “HelloYonoArc.arc” and click Save.
  8. 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.
  9. Click Terminate to terminate the pipeline and release the resources.