0.1.3 • Published 7 months ago

@p0llen/speaker-detector-client v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
7 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

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago