mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Fix return value of descriptorType()
This commit is contained in:
parent
86888bdf77
commit
d8c9bb777e
@ -45,11 +45,11 @@ namespace cv
|
||||
{
|
||||
if (descriptor < MLDB_UPRIGHT)
|
||||
{
|
||||
return CV_32FC1;
|
||||
return CV_32F;
|
||||
}
|
||||
else
|
||||
{
|
||||
return CV_8UC1;
|
||||
return CV_8U;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user