Set ROI
Libraries:
YOLO v2 Vehicle Detector with Live Camera Input on Zynq-Based Hardware
example
Description
The Set ROI block overwrites one or more rectangular regions of a video
frame stored in external memory. For instance, you can use this block to display score labels
on identified objects. Use this block only in a software interface model connected to an FPGA
board that is using the RGB with DL Processor
reference design. The
block uses the processor-FPGA interface and the memory map of this reference design to read
and modify the specified pixels in the frame.
You can only use this block once per model. Your design should provide the ROI coordinates
and replacement values and set valid to true
once video frames are
available in memory. The YOLO v2 Vehicle Detector with Live Camera Input on Zynq-Based Hardware example shows how to use
this block in the postprocessing model that is targeted to the ARM® processor.
Ports
Input
Parameters
Extended Capabilities
Version History
Introduced in R2023a