0
我從MitrocontrollersAndMore獲得關於使用C++進行車牌識別的源代碼示例。但是我發現了一些錯誤。例如,我有錯誤的代碼:在qt中使用opencv3時出現的錯誤
for (auto &vectorOfMatchingChars : vectorOfVectorsOfMatchingCharsInScene) { // for each group of matching chars
PossiblePlate possiblePlate = extractPlate(imgOriginalScene, vectorOfMatchingChars); // attempt to extract plate
if (possiblePlate.imgPlate.empty() == false) { // if plate was found
vectorOfPossiblePlates.push_back(possiblePlate); // add to vector of possible plates
}
}
的誤差預期之前初始化「:」令牌,預期主表達式在輸入結束時,預期「;」在輸入結束時等。我該怎麼做才能解決這些錯誤?
您已經啓用了標準C++ 11 – eyllanesc