Skip to content

Commit 56bd5f1

Browse files
committed
fix: fix some error
1 parent aedf84c commit 56bd5f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/FOCV_Function.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ jsi::Object FOCV_Function::invoke(jsi::Runtime &runtime, const jsi::Value *argum
8484

8585
Mat src1 = *src1;
8686
Mat src2 = *src2;
87-
String info1 = src1.rows + " " + src1.cols + " " + src1::type();
88-
String info2 = src2.rows + " " + src2.cols + " " + src2::type();
87+
String info1 = std::to_string(src1->rows) + " " + std::to_string(src1->cols) + " " + std::to_string(src1->type());
88+
String info2 = std::to_string(src2->rows) + " " + std::to_string(src2->cols) + " " + std::to_string(src2->type());
8989
String out = info1 + " " + info2;
9090

9191
value.setProperty(runtime, "value", out);

0 commit comments

Comments
 (0)