Skip to content

Commit

Permalink
Merge pull request #88 from Picovoice/update-python-demo-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 authored Dec 20, 2024
2 parents 11e3b43 + 9565ba1 commit 93e23da
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion demo/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ using the audio captured from the microphone. It will display the progress perce

```console
eagle_demo_mic enroll --access_key ${ACCESS_KEY} --output_profile_path ${OUTPUT_PROFILE_PATH}
``````
```

Replace `${OUTPUT_PROFILE_PATH}` with the absolute path where the generated profile should be written.

Expand All @@ -82,6 +82,14 @@ eagle_demo_mic test --access_key ${ACCESS_KEY} --input_profile_paths ${INPUT_PRO
In this mode, you can include multiple speaker profiles by specifying them with the `--input_profile_paths` option.
Eagle will assess and provide a distinct score for each profile, which will be displayed in the terminal.

Note: the demo uses the default input audio device on your machine. To choose a different device, use the
`--show_audio_devices` option to see a list of available devices and their indexes, then run the above commands
with the `--audio_device_index` option:

```console
eagle_demo_mic enroll --access_key ${ACCESS_KEY} --output_profile_path ${OUTPUT_PROFILE_PATH} --audio_device_index 2
```

## File Demo

Similar to the mic demo, the file demo can be run in two modes: `enroll` and `test`
Expand Down

0 comments on commit 93e23da

Please sign in to comment.