Part of the program used in the paper Vision Guided Crop Detection in Field Robots using FPGA-Based Reconfigurable Computers
The backbone of the program is forked from Xilinx/Edge-AI-Platform-Tutorials
(now part of Xilinx/Vitis-In-Depth-Tutorial
)
The closest code to the original source should be this tutorial,
but with the orignal code written with the use of YOLOv3.
To repurpose the porgram to do some benchmark and pushing for higher throughput, I've adapted the source code to run a modified version (thru transfer learning) of the YOLOv3 (with only 7 classes). As the loading and resizing of the image from external SD card soon becomes the bottleneck, changes have been made to preload images to RAM and pipelined the resizing & inference process.