Download Vitis-ai 1.4 KV260 Image
Connect to the KV260
Read moreTo get started you can download the DPU configured KV260 image from here
Preparing SD CardTo prepare your sd card open DISK and "restore SD card" with your downloaded ".wic" image file.
You can either use screen:
$ screen /dev/ttyUSB1 115200
or ssh which is what I will be using for the tutorial:
$ ssh root@<ipaddress>
Download Vitis-AI Runtime LibrariesDownload using wget:
$ wget -O vitis-ai-runtime-1.4.0.tar.gz https://public.db.files.1drv.com/y4mjpl9YZ41ROOqTX9lUST-M4TkVaNhlr21LIFqAnHE-EV6odhoHIrhraMDnewblJipb9njNV_lzx2og_ysKGigSc6LXHWPmxI_25cetlYtaQKeCOrNGP663jm69WE8nXqAqxrhPVddhGY4cFGTFSL3IWnbOK7Uo7fhAmbIy52i1Bf3PHueihcmXwCTr_ql5bdf2CA8RvwA-cs7CpOGVLCF6ib0qpAGedSZ865qKR7y__0?access_token=EwAAA61DBAAU2kADSankulnKv2PwDjfenppNXFIAAXOnMxeLdBlEHwoMDolhCBBZJEY5Z9YNb6DuOxIVt0MLU8cO0DQPI1uaQUzqsyCVy7NDAt1Rl2YbMzfXc8vFcNjLCGFfeECnGmeL%2bud1NIPxlGDaqPt78HIKMX6EYMhr0i3JJavXc7C9b7F/pFzvSGppS302gwnZWubDto7G0zftl/sH8dOAdLsVO%2b2KPvNRj6jE6gba6C6s/%2b6EUrbjDFFV91dBoBnS6BLSbI1pSro4p7VrNUC2KS7Grm8JbrLODUFJGyugRv11fvnMdWOWxtDRHOx7mRcX8kolE8Z0NAV%2bLJ5meNYx8249rKf%2bzTj50tOu1azHyNsfOOkJ%2bmcdv10DZgAACFgC4zG/zP900AFTCP%2bU924SuRn1x4N9Z8NEfBFjXDwOL6QbLWNLaFgVMnVLx7EH8xe3CNxVdPFvav%2bS6vEs75jIjdOt1BUgmx9DngiTAwkyLtQRqdQcuUCY61GBmu5cM1qiMTgxhICc3K%2bk1CewFaAWyUX4X5bkX/DZZMiwBZrPNCJulC%2bF1QyVrS9pF/9Yld1fut%2b2I9EvkpCUrgQCFgfy8jx0q/wvvYGZaX5goZaTr8IAs0BNKpZ25r6voWvnrmI5RFS86tSBnzldpxbwyRq4hluxmdpqFNCXkabwxeqmYeVzKmwPZct3NY8Ib7G7ypnN2ZnhKaNsG5cG3gBAv8gyFbPq2wU3qaz1DJPKdVrp38T08XOJ9E1nf6NWCj8QeFBFB2w1FTBd2EpmZurzuYkuMC4ZOlmApPvFB3Md7dyFiSkR39KZ9DEGgzxV20SBCOtEecQCuZ%2bzjmRggeKiY5C9i6E86adUvFn4mwFV5tp3Aqnh3Yjk8c2uOTYqzebtHe3lZvdHAPTvf9HwsE5uFiYOT6Cnog5ZHwaideaSlkSG5jllkxazILJGG5aOU2sQkuW80g/88GiWkIS9Kf%2bCjqwfh1kQFqTLiqg5K3eRy1RZ%2bJjRbbp7WDD6VRAC
or download from here and scp to the board
Decompress and apply library files$ tar -xzvf vitis-ai-runtime-1.4.x.tar.gz
$ cd /vitis-ai-runtime-1.4.0/2020.2/aarch64/centos/setup.sh
$ bash setup.sh
Download Densebox Model and copy to models folderwget -O densebox_320_320-zcu102_zcu104_kv260-r1.4.0.tar.gz https://www.xilinx.com/bin/public/openDownload?filename=densebox_320_320-zcu102_zcu104_kv260-r1.4.0.tar.gz
tar -xzvf densebox_320_320-zcu102_zcu104_kv260-r1.4.0.tar.gz
cp densebox_320_320 /usr/share/vitis_ai_library/models -r
Clone Webcam scriptgit clone https://github.com/JackBonnellDevelopment/Hack_face_detect
Run Scriptcd Hack_face_detect
./build
./faceTracking
ResultThanks to Adam Taylor .
Comments