Commit e36bd886 authored by Zhiping Jiang (蒋志平)'s avatar Zhiping Jiang (蒋志平) 💬

remove the ad hoc code.

parent 9ef39ae5
......@@ -55,12 +55,7 @@ ScreenCameraInfo ScreenCameraInfo::getCurrentDiviceInfo() {
frontCameraDeviceId = 0;
frontCameraResolution = cv::Size2i(1280,720);
focalLength = 1037;
}
else if (currentDeviceCode.find("HaseeComputerCW35S") != std::string::npos) {
frontCameraDeviceId = 0;
frontCameraResolution = cv::Size2i(640, 480);
focalLength = 1500;
}
}
return ScreenCameraInfo(deviceCode, productName, screenPhysicalResolution, screenPhysicalPPI, equavalentPixelPointForFrontCamera, frontCameraDeviceId, frontCameraResolution, principalPoint, focalLength);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment