0.1.3 • Published 6 months ago

@p0llen/speaker-detector-client v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

@pollenai/speaker-detector-client

React client for interfacing with the speaker-detector Python backend.

Installation

npm install @pollenai/speaker-detector-client
pip install speaker-detector

Usage

import {
  useSpeakerDetection,
  SpeakerStatus,
} from "@pollenai/speaker-detector-client";

const App = () => {
  const { speaker, isListening } = useSpeakerDetection();

  return <SpeakerStatus active={isListening} speaker={speaker} />;
};

import { useSpeakerDetection, SpeakerStatus } from "@pollenai/speaker-detector-client";

function App() { const { speaker, isListening } = useSpeakerDetection();

return (

0.1.3

6 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago