@ikiraro/sdk
v0.4.3
Published
Ikiraro SDK — sign language translation and rendering
Maintainers
Readme
@ikiraro/sdk
The official SDK for the Ikiraro sign language platform. This package provides the primary entry point for React applications, encapsulating the entire translation and animation pipeline.
Installation
npm install @ikiraro/sdkCore Components
IkiraroRuntime: The main class for non-React environments.createIkiraroClient: The factory for React hooks and state management.AvatarViewer: The high-performance 3D component for sign rendering.
Usage
1. Initialize the Client
import { createIkiraroClient } from "@ikiraro/sdk";
export const { useIkiraro, useIkiraroPlugin } = createIkiraroClient({
sdk: {
groqApiKey: process.env.VITE_GROQ_API_KEY
},
keyboard: true // Optional: Enable keyboard input
});2. Connect the Camera
import { useHandTracking } from "@ikiraro/sdk";
function CameraView() {
const { start, stop, status } = useHandTracking();
// ...
}3. Render the Avatar
import { AvatarViewer } from "@ikiraro/sdk";
function Avatar() {
const { snapshot } = useIkiraro();
return <AvatarViewer envelope={snapshot.lastEnvelope} modelUrl="/avatar.glb" />;
}Professional Features
Orientation-Invariant Recognition
Our SignAllRecognizer uses Procrustes alignment to ensure accurate matching regardless of the user's hand angle relative to the camera.
SOTA Latency Reduction
By using velocity-based plateau detection, the SDK identifies and commits signs the instant they are formed, bypassing traditional timeout-based delays.
Documentation
For full API reference and advanced guides, visit the docs folder.
