element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Review Blogs Avnet UltraZed-EV Starter Kit Road Test - Vitis AI
  • Blogs
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: ralphjy
  • Date Created: 24 Jul 2020 3:48 PM Date Created
  • Views 1043 views
  • Likes 2 likes
  • Comments 3 comments
Related
Recommended
  • ultrazed-ev
  • ultrazed-ev starter kit
  • vitis-ai
  • ultrazed-ev road test

Avnet UltraZed-EV Starter Kit Road Test - Vitis AI

ralphjy
ralphjy
24 Jul 2020

Mario Bergeron recently did a tutorial project on Hackster.io vitis-ai-1-1-flow-for-avnet-vitis-platforms  that "provides detailed instructions for targeting the DNNDK samples from the Xilinx Vitis-AI 1.1 flow for Avnet Vitis 2019.2 platforms."   The UltraZed-EV is one of the supported platforms.  I need an AI component for my roadtest project so this was a very timely tutorial.  I decided that since he provided pre-built images that I would do a quick run through of the examples on my board.  I'll demo the examples that I think have the most relevance to my roadtest project.

 

Installation of Vitis-AI embedded package

Installation was straightforward.  The sdcard folder is mounted on /run/media/mmcblk1p1.

  • cd /run/media/mmcblk1p1
  • cp dpu.xclbin /usr/lib/.
  • cd runtime/vitis-ai_v1.1_dnndk
  • source ./install.sh

 

The installation fails to install python support but apparently that was expected.  It's not required for the tutorial but that means the python examples will not work.

The installation process logs you out so a re-login is required.

 

Use the dexplorer utility to verify the installation:

image

 

List of examples:

image

 

Pose Detection

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Face Detection

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

ADAS Detection

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Video Analysis

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The other non-python examples are various different classifiers (inception_v1, mobilenet, resnet50).  There are two examples for each classifier.  The first displays the image it is classifying and outputs the result on the serial console.  This runs very quickly over 500 images so you really can't visually correlate the result but it gives you a feel for the DPU execution time.  The second example runs over 1000 images without displaying and records the overall execution time for classification which gives you an effective average frame rate.

 

Here are the results for mobilenet:

First example - dpu execution time is around 4.5ms per image

image

Second example - overall execution time for 1000 images is about 5.4s for an average frame rate of around 183fps.

image

 

The DPU performance is quite impressive.  The Video Analysis example is the type of AI processing that I want for my project - to detect and classify objects in a video stream.  Now I need to look at Vitis DNNDK development flow and think about how to integrate this on multiple streams with VCU.

 

This was a nice respite from working on PetaLinux build problems image.

 

Links to previous posts for this roadtest:

  1. Avnet UltraZed-EV Starter Kit Road Test- the adventure begins.....
  2. Avnet UltraZed-EV Starter Kit Road Test - VCU TRD
  3. Avnet UltraZed-EV Starter Kit Road Test - VCU TRD continued
  4. Avnet UltraZed-EV Starter Kit Road Test - Port PYNQv2.5
  • Sign in to reply

Top Comments

  • albertabeef
    albertabeef over 4 years ago +2
    Great overview Ralph ! Thanks for the face detection video I am very impressed by Xilinx’s pre-built face detection model. Have you tried any of the other models on your custom videos ? I have tried some…
  • ralphjy
    ralphjy over 4 years ago in reply to albertabeef +2
    Hi Mario, It seems like this was ages ago, but I did try a number of object classification models. I was primarily interested in identifying what was passing in front of my house. In general, I could identify…
  • albertabeef
    albertabeef over 4 years ago in reply to ralphjy

    Ralph,

    Thank you for the response.

    That sounds like the sort of experimentation I should be doing.
    I have a lot of front facing windows on my house, including a window beside the front door.
    Regarding to the UZ7EV-EVCC and VCU functionality,
    you'll be happy to hear that we've made progress on those designs.
    Keep an eye out for updates from drozwood90

    Regards,

    Mario.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 4 years ago in reply to albertabeef

    Hi Mario,

     

    It seems like this was ages ago, but I did try a number of object classification models.  I was primarily interested in identifying what was passing in front of my house.  In general, I could identify humans vs animals and cars vs trucks and it was reasonable at detecting faces - but it was highly dependent on ambient lighting and object orientation relative to the camera.  I basically, concluded that I needed a whole lot more training data and probably augmentation from other sensors (sort of like being a human as you said image).  I had real problems with summer afternoons when there were distinct shadows moving through the image. 

     

    I mentioned that I'm temporarily on a different track, but I'd like to get back to it in a couple of months and I'm interested in seeing if I can apply some of your learning.  I definitely want to augment what I use for detection and classification.  I was thinking about adding audio sensors and location sensors (PIR, LIDAR) so I can identify object position and movement in the image.  I've already used these types of sensors for detection alerts.  Maybe add a second camera to provide classification from a different viewpoint.

     

    I have a couple of hurdles to overcome when I restart, I just recently messed up VirtualBox (so my VMs won't start) and I still have an issue using the VCU with my IP cams (software decoding works).  Hope that fixing VirtualBox won't be too hard, or it will be a painful restart.

     

    -Ralph

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • albertabeef
    albertabeef over 4 years ago

    Great overview Ralph !

    Thanks for the face detection video 

    I am very impressed by Xilinx’s pre-built face detection model.
    Have you tried any of the other models on
    your custom videos ?

    I have tried some models on rock climbing videos ...

    Object classicification videos think a climber is an airplane, and pose estimation models don’t even see the climber ...

    If we take a step back, this is understandable ... most (if not all) of the humans in the training datasets are standing on the ground, not hanging from the walls

    This is a testiment to our magnificent brains, which can generalize objects in the most unusual and unexpected places.

    Would love to get your feedback on this

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube