mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 23:06:56 +08:00
Added is_loaded function to C binding
This commit is contained in:
@@ -30,6 +30,11 @@ OPENALPRC_DLL_EXPORT OPENALPR* openalpr_init(const char* country, const char* co
|
||||
return (OPENALPR*) alpr_inst;
|
||||
}
|
||||
|
||||
OPENALPRC_DLL_EXPORT int is_loaded(OPENALPR* instance)
|
||||
{
|
||||
return (int) ((alpr::Alpr*) instance)->isLoaded();
|
||||
}
|
||||
|
||||
// Set the country used for plate recognition
|
||||
OPENALPRC_DLL_EXPORT void openalpr_set_country(OPENALPR* instance, const char* country)
|
||||
{
|
||||
|
Reference in New Issue
Block a user