图像尺寸改变

元素测试完成,图像改为80,140
This commit is contained in:
Glz
2024-01-13 18:20:39 +08:00
parent a933b59a6c
commit 39ad54586a
16 changed files with 518 additions and 305 deletions

View File

@@ -57,17 +57,17 @@ int main(void)
if (mt9v03x_finish_flag) {
// 该操作消耗大概 1970 个 tick折合约 110us
memcpy(mt9v03x_image_copy[0], mt9v03x_image[0], (sizeof(mt9v03x_image_copy) / sizeof(uint8_t)));
adaptiveThreshold((uint8_t*)mt9v03x_image_copy, (uint8_t*)mt9v03x_image_copy, 188, 120, 7, 17);
ips200_show_gray_image(0, 0, mt9v03x_image_copy[0], MT9V03X_W, MT9V03X_H, MT9V03X_W, MT9V03X_H, 0);
//adaptiveThreshold((uint8_t*)mt9v03x_image_copy, (uint8_t*)mt9v03x_image_copy, 188, 120, 7, 17);
//ips200_show_gray_image(0, 0, mt9v03x_image_copy[0], MT9V03X_W, MT9V03X_H, MT9V03X_W, MT9V03X_H, 0);
mt9v03x_finish_flag = 0;
state_type = COMMON_STATE;
img_processing();
// get_corners();
get_corners();
aim_distance = COMMON_AIM;
tracking();
// ElementJudge();
// ElementRun();
ElementJudge();
ElementRun();
MidLineTrack();
}