mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 06:46:53 +08:00
Added set_country function to Python bindings
This commit is contained in:
@@ -96,6 +96,14 @@ extern "C" {
|
||||
return membuffer;
|
||||
}
|
||||
|
||||
OPENALPR_EXPORT void setCountry(Alpr* nativeAlpr, char* ccountry)
|
||||
{
|
||||
// Convert strings from java to C++ and release resources
|
||||
std::string country(ccountry);
|
||||
|
||||
nativeAlpr->setCountry(country);
|
||||
}
|
||||
|
||||
OPENALPR_EXPORT void setDefaultRegion(Alpr* nativeAlpr, char* cdefault_region)
|
||||
{
|
||||
// Convert strings from java to C++ and release resources
|
||||
|
Reference in New Issue
Block a user