mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 00:46:49 +08:00
Add empty lines where it makes sense
This commit is contained in:
@@ -26,10 +26,12 @@ Alpr::Alpr(const std::string country, const std::string runtimeDir)
|
||||
{
|
||||
impl = new AlprImpl(country, runtimeDir);
|
||||
}
|
||||
|
||||
Alpr::~Alpr()
|
||||
{
|
||||
delete impl;
|
||||
}
|
||||
|
||||
std::vector<AlprResult> Alpr::recognize(std::string filepath)
|
||||
{
|
||||
cv::Mat img = cv::imread(filepath, CV_LOAD_IMAGE_COLOR);
|
||||
@@ -53,10 +55,12 @@ void Alpr::setDetectRegion(bool detectRegion)
|
||||
{
|
||||
impl->setDetectRegion(detectRegion);
|
||||
}
|
||||
|
||||
void Alpr::setTopN(int topN)
|
||||
{
|
||||
impl->setTopN(topN);
|
||||
}
|
||||
|
||||
void Alpr::setDefaultRegion(std::string region)
|
||||
{
|
||||
impl->setDefaultRegion(region);
|
||||
@@ -72,6 +76,7 @@ bool Alpr::isLoaded()
|
||||
AlprResult::AlprResult()
|
||||
{
|
||||
}
|
||||
|
||||
AlprResult::~AlprResult()
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user