mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 03:56:55 +08:00
Bugfix: Private member has not been initialized, use parameter instead. Fixes #103
This commit is contained in:
@@ -11,7 +11,7 @@ namespace alpr
|
||||
Mat grayImg;
|
||||
if (colorImage.channels() > 2)
|
||||
{
|
||||
cvtColor(this->colorImg, grayImg, CV_BGR2GRAY);
|
||||
cvtColor(colorImage, grayImg, CV_BGR2GRAY);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user