Fix bug
authorTae-Young Chung <ty83.chung@samsung.com>
Thu, 14 Oct 2021 04:03:14 +0000 (13:03 +0900)
committer엘무럿/선행S/W Lab(생활가전)/Principal Engineer/삼성전자 <e.talipov@samsung.com>
Tue, 14 Dec 2021 02:21:04 +0000 (11:21 +0900)
base.type should be extra.type

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
src/dfs_opencv.cpp

index 0d6bd10117434d80fa59b021b0b121091fb33296..98f727885d2c3fd2c009c1d81c985be58cb13afe 100644 (file)
@@ -91,7 +91,7 @@ namespace DfsAdaptationImpl
                }
 
                int baseCvType = ConvertDfsDataTypeToCV(base.type);
-               int extraCvType = ConvertDfsDataTypeToCV(base.type);
+               int extraCvType = ConvertDfsDataTypeToCV(extra.type);
                if (baseCvType < 0 || extraCvType < 0) {
                        throw std::runtime_error("invalid data type");
                }