Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ReactNativeMediaPipe.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency "MediaPipeTasksVision", "0.10.12"
s.dependency "MediaPipeTasksVision", "0.10.14"
s.dependency "VisionCamera"

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation project(':react-native-vision-camera')
implementation 'com.google.mediapipe:tasks-vision:0.10.26'
implementation 'androidx.camera:camera-core:1.3.3'
implementation 'androidx.camera:camera-core:1.3.3'
}

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object FaceLandmarkDetectorMap {
class FaceLandmarkDetectionModule(reactContext: ReactApplicationContext) :
ReactContextBaseJavaModule(reactContext) {

private var nextId = 22 // just not zero
private var nextId = 24 // just not zero

override fun getName(): String {
return "FaceLandmarkDetection"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object PoseDetectorMap {
class PoseDetectionModule(reactContext: ReactApplicationContext) :
ReactContextBaseJavaModule(reactContext) {

private var nextId = 22 // just not zero
private var nextId = 23 // just not zero

override fun getName(): String {
return "PoseDetection"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import React

@objc(FaceLandmarkDetectionModule)
class FaceLandmarkDetectionModule: RCTEventEmitter {
private static var nextId = 22 // Equivalent to Kotlin's starting point
private static var nextId = 24 // Equivalent to Kotlin's starting point
static var detectorMap = [Int: FaceLandmarkDetectorHelper]() // Maps to the Kotlin detectorMap

override func supportedEvents() -> [String]! {
Expand Down
2 changes: 1 addition & 1 deletion ios/posedetection/PoseDetectionModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import React

@objc(PoseDetectionModule)
class PoseDetectionModule: RCTEventEmitter {
private static var nextId = 22 // Equivalent to Kotlin's starting point
private static var nextId = 23 // Equivalent to Kotlin's starting point
static var detectorMap = [Int: PoseDetectorHelper]() // Maps to the Kotlin detectorMap

override func supportedEvents() -> [String]! {
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,5 @@
}
]
]
},
"dependencies": {
"react-native-vector-icons": "^10.0.3"
}
}
Loading