解决了画面不全的问题,并且提高了分辨率,画面更全
This commit is contained in:
@@ -64,7 +64,7 @@ void set_camera_resolution(MindVisionCamera& camera, int width, int height) {
|
||||
int main(int /*argc*/, char* /*argv*/[]) {
|
||||
std::string target_color = "red";
|
||||
int cam_id = 0;
|
||||
cv::Size default_resolution(640, 480);
|
||||
cv::Size default_resolution(1280, 720);
|
||||
bool use_ttl = false; // Set to false to disable TTL communication
|
||||
|
||||
// Define optional resolution list (adjust based on camera support)
|
||||
|
||||
Reference in New Issue
Block a user