← Catalog

mediapipe-hand-landmarker-v0.10.9 production first-party

mediapipe-landmark · 5.58 MB · Apache-2.0

Card

Provider
Google MediaPipe
Task
mediapipe-landmark
License
Apache-2.0
Version
0.10.9
Format
litert
Platforms
ios, android
SHA-256
d4a1e42578acc2686ed26e0058998c9200f0bbe4fbff4ea0285cb69e9e6819d5

Integrate

Swift

// Package.swift
.package(url: "https://github.com/Nozium/manashiki-models-swift", branch: "main"),

// In your app:
import Manashiki

let client = ManashikiClient(apiKey: ProcessInfo.processInfo.environment["MANASHIKI_API_KEY"] ?? "")
let model = try await client.downloadModel("mediapipe-hand-landmarker-v0.10.9") { progress in
    print("\(progress.bytesWritten) / \(progress.totalBytes)")
}
print(model.localURL)

TypeScript

// npm i @manashiki/sdk
import { ManashikiClient } from "@manashiki/sdk";

const client = new ManashikiClient({ apiKey: process.env.MANASHIKI_API_KEY! });
const dl = await client.downloadModel("mediapipe-hand-landmarker-v0.10.9");
console.log(dl);

Kotlin / Android

// build.gradle.kts
implementation("com.manashiki:manashiki-models:0.1.0")

// Kotlin
val client = ManashikiClient(apiKey = BuildConfig.MANASHIKI_API_KEY)
val model = client.downloadModel("mediapipe-hand-landmarker-v0.10.9")
println(model.localPath)

Get an mk_test_* API key with manashiki keys create --env staging. See getting started for a 5-minute walkthrough.