Support UTF8 to UTF16 LE.
Support Unicode helper Fix ANSFR to show 2 same faces in 1 image
This commit is contained in:
@@ -259,7 +259,7 @@ namespace ANSCENTER {
|
||||
});
|
||||
}
|
||||
|
||||
return root.dump(-1, ' ', true);
|
||||
return root.dump();
|
||||
}
|
||||
catch (const std::exception& e) {
|
||||
// Add your error logging here if needed
|
||||
@@ -893,7 +893,7 @@ namespace ANSCENTER {
|
||||
for (const auto& part : res.parts) {
|
||||
alprInfo[part.first] = part.second;
|
||||
}
|
||||
std::string extraInfoStr = alprInfo.dump(-1, ' ', true);
|
||||
std::string extraInfoStr = alprInfo.dump();
|
||||
|
||||
// Use the same field layout as OCRDetectionToJsonString
|
||||
jsonResults.push_back({
|
||||
@@ -912,7 +912,7 @@ namespace ANSCENTER {
|
||||
{"kps", ""}
|
||||
});
|
||||
}
|
||||
return root.dump(-1, ' ', true);
|
||||
return root.dump();
|
||||
} catch (const std::exception&) {
|
||||
return R"({"results":[],"error":"ALPR serialization failed"})";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user