|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
A model that, given an image crop and a text prompt, returns structured attributes. More...
#include <IVlmClient.hpp>

Public Member Functions | |
| virtual | ~IVlmClient ()=default |
| virtual VlmResult | describe (const cv::Mat &crop, const std::string &prompt)=0 |
Describe crop (a BGR CV_8UC3 image) given prompt. | |
A model that, given an image crop and a text prompt, returns structured attributes.
Implementations must not throw on an empty/degenerate model answer — they return a VlmResult with ok == false so the caller can log and skip rather than fabricate (STANDARDS §5). Transport failures (connection refused, HTTP error) may throw.
Definition at line 29 of file IVlmClient.hpp.
|
virtualdefault |
|
pure virtual |
Describe crop (a BGR CV_8UC3 image) given prompt.
Implemented in reusex::vision::OpenAiCompatibleVlmClient.