11 lines
312 B
C++
11 lines
312 B
C++
#pragma once
|
|
#include <opencv2/opencv.hpp>
|
|
#include "types.hpp"
|
|
|
|
void preprocess_init();
|
|
void preprocess_run(const cv::Mat& bgr_frame); // 全彩 HSV 二值化 + IPM
|
|
|
|
extern uint8 g_ipm_image[IMAGE_HEIGHT][IMAGE_WIDTH];
|
|
extern uint8 g_valid_l_bound[IMAGE_HEIGHT];
|
|
extern uint8 g_valid_r_bound[IMAGE_HEIGHT];
|