mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 07:16:56 +08:00
Added prefix to is_loaded function
This commit is contained in:
@@ -30,7 +30,7 @@ OPENALPRC_DLL_EXPORT OPENALPR* openalpr_init(const char* country, const char* co
|
|||||||
return (OPENALPR*) alpr_inst;
|
return (OPENALPR*) alpr_inst;
|
||||||
}
|
}
|
||||||
|
|
||||||
OPENALPRC_DLL_EXPORT int is_loaded(OPENALPR* instance)
|
OPENALPRC_DLL_EXPORT int openalpr_is_loaded(OPENALPR* instance)
|
||||||
{
|
{
|
||||||
return (int) ((alpr::Alpr*) instance)->isLoaded();
|
return (int) ((alpr::Alpr*) instance)->isLoaded();
|
||||||
}
|
}
|
||||||
|
@@ -45,7 +45,7 @@ struct AlprCRegionOfInterest
|
|||||||
OPENALPR* openalpr_init(const char* country, const char* configFile, const char* runtimeDir);
|
OPENALPR* openalpr_init(const char* country, const char* configFile, const char* runtimeDir);
|
||||||
|
|
||||||
// Returns 1 if the library was loaded successfully, 0 otherwise
|
// Returns 1 if the library was loaded successfully, 0 otherwise
|
||||||
int is_loaded(OPENALPR* instance);
|
int openalpr_is_loaded(OPENALPR* instance);
|
||||||
|
|
||||||
// Set the country used for plate recognition
|
// Set the country used for plate recognition
|
||||||
void openalpr_set_country(OPENALPR* instance, const char* country);
|
void openalpr_set_country(OPENALPR* instance, const char* country);
|
||||||
|
Reference in New Issue
Block a user