mirror of
https://github.com/DanielSWolf/rhubarb-lip-sync.git
synced 2026-11-21 12:25:08 +00:00
18 lines
379 B
C++
18 lines
379 B
C++
#pragma once
|
|
|
|
#include "audio/AudioClip.h"
|
|
#include "core/Phone.h"
|
|
#include "tools/ProgressBar.h"
|
|
#include "time/BoundedTimeline.h"
|
|
|
|
class Recognizer {
|
|
public:
|
|
virtual ~Recognizer() = default;
|
|
|
|
virtual BoundedTimeline<Phone>recognizePhones(
|
|
const AudioClip& audioClip,
|
|
boost::optional<std::string> dialog,
|
|
int maxThreadCount,
|
|
ProgressSink& progressSink
|
|
) const = 0;
|
|
}; |