| Updated: October 28, 2024 |
Create ADAS fusion objects from rectangles extracted by OpenCV
#include <adas/adas_opencv.h>
adas_error_t adas_opencv_generate_fusion_tracks_from_rect(
const std::vector< cv::Rect > &founds,
const cv::Point &src_offset,
const cv::Size &src_size,
const cv::Size &dst_size,
adas_fusion_object_type_t type,
adas_fusion_object_data_t **return_objects,
size_t *nb_objects)
The ADAS fusion objects created by this function can then be passed to adas_fusion_create_buffer_from_tracking() to create the fusion buffer output for the algorithm.
ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.