Skip to content

Commit aedf84c

Browse files
committed
chore: 0.8.11
1 parent 1c8778e commit aedf84c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

cpp/FOCV_Function.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ jsi::Object FOCV_Function::invoke(jsi::Runtime &runtime, const jsi::Value *argum
8282
auto gamma = args.asNumber(5);
8383
auto dst = args.asMatPtr(6);
8484

85-
String info1 = *src1.rows + " " + *src1.cols + " " + *src1::type();
86-
String info2 = *src2.rows + " " + *src2.cols + " " + *src2::type();
85+
Mat src1 = *src1;
86+
Mat src2 = *src2;
87+
String info1 = src1.rows + " " + src1.cols + " " + src1::type();
88+
String info2 = src2.rows + " " + src2.cols + " " + src2::type();
8789
String out = info1 + " " + info2;
8890

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@redchili/react-native-fast-opencv",
3-
"version": "0.8.10",
3+
"version": "0.8.11",
44
"description": "OpenCV port to React Native",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",

0 commit comments

Comments
 (0)