mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 06:46:53 +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;
|
Mat grayImg;
|
||||||
if (colorImage.channels() > 2)
|
if (colorImage.channels() > 2)
|
||||||
{
|
{
|
||||||
cvtColor(this->colorImg, grayImg, CV_BGR2GRAY);
|
cvtColor(colorImage, grayImg, CV_BGR2GRAY);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user