This commit is contained in:
ackimixs
2024-04-08 16:43:46 +02:00
parent 4056a48669
commit 4c3c30e63a
2 changed files with 2 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ int main(int argc, char *argv[])
for (const auto& [tags, matrix] : r.second)
{
if (tags.type == FLOWER) {
std::cout << tags.id << " " << tags.name << " " << matrix.first << " " << matrix.second << std::endl;
//ArucoDetector::flowerDetector(tags, matrix.first, matrix.first, robotPose);
}
else if (tags.type == SOLAR_PANEL)

View File

@@ -164,7 +164,7 @@ int main(int argc, char *argv[]) {
std::cout << "Rep Error: " << arucoRepErr << std::endl;
cv::FileStorage fs("calibration_results.yaml", cv::FileStorage::WRITE);
cv::FileStorage fs(outputFile, cv::FileStorage::WRITE);
fs << "cameraMatrix" << cameraMatrix;
fs << "distCoeffs" << distCoeffs;
fs.release(); // Release the file