Skip to content

Commit 99f2d79

Browse files
committed
fix: post rebase fix
1 parent 89b7d88 commit 99f2d79

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

apps/computer-vision/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2356,7 +2356,7 @@ SPEC CHECKSUMS:
23562356
React-logger: 8edfcedc100544791cd82692ca5a574240a16219
23572357
React-Mapbuffer: c3f4b608e4a59dd2f6a416ef4d47a14400194468
23582358
React-microtasksnativemodule: 054f34e9b82f02bd40f09cebd4083828b5b2beb6
2359-
react-native-executorch: 30047a5076fa3c91119618147627d895d87af51b
2359+
react-native-executorch: 53f918e0e3905243cc39d2d1a9df018bcd49c77b
23602360
react-native-image-picker: 8a3f16000e794f5381a7fe47bb48fd8d06741e47
23612361
react-native-safe-area-context: 562163222d999b79a51577eda2ea8ad2c32b4d06
23622362
react-native-skia: b6cb66e99a953dae6880348c92cfb20a76d90b4f

packages/react-native-executorch/common/rnexecutorch/host_objects/JsiConversions.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -114,27 +114,6 @@ inline jsi::Value getJsiValue(const std::vector<Detection> &detections,
114114
return array;
115115
}
116116

117-
inline jsi::Value getJsiValue(const std::vector<Detection> &detections,
118-
jsi::Runtime &runtime) {
119-
jsi::Array array(runtime, detections.size());
120-
for (std::size_t i = 0; i < detections.size(); ++i) {
121-
jsi::Object detection(runtime);
122-
jsi::Object bbox(runtime);
123-
bbox.setProperty(runtime, "x1", detections[i].x1);
124-
bbox.setProperty(runtime, "y1", detections[i].y1);
125-
bbox.setProperty(runtime, "x2", detections[i].x2);
126-
bbox.setProperty(runtime, "y2", detections[i].y2);
127-
128-
detection.setProperty(runtime, "bbox", bbox);
129-
detection.setProperty(runtime, "label",
130-
jsi::String::createFromAscii(
131-
runtime, cocoLabelsMap.at(detections[i].label)));
132-
detection.setProperty(runtime, "score", detections[i].score);
133-
array.setValueAtIndex(runtime, i, detection);
134-
}
135-
return array;
136-
}
137-
138117
template <typename Model, typename R, typename... Types>
139118
constexpr std::size_t getArgumentCount(R (Model::*f)(Types...)) {
140119
return sizeof...(Types);

0 commit comments

Comments
 (0)