mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-05-31 14:30:42 +00:00
This commit adds an example that demonstrates how to use a VAD (Voice Activity Detection) model to segment an audio file into speech segments. Resolves: https://github.com/ggml-org/whisper.cpp/issues/3144
9 lines
239 B
CMake
9 lines
239 B
CMake
set(TARGET vad-speech-segments)
|
|
add_executable(${TARGET} speech.cpp)
|
|
|
|
include(DefaultTargetOptions)
|
|
|
|
target_link_libraries(${TARGET} PRIVATE common whisper ${FFMPEG_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
install(TARGETS ${TARGET} RUNTIME)
|