//clika-runtime/io.clika.modelverse/VisionModel/Companion/open
open
[common]
fun open(path: String, options: VisionLoadOptions = VisionLoadOptions()): VisionModel
Load a vision model from path, a snapshot directory, on the CPU: the library reads the checkpoint's family and opens the door that family serves (detection, depth, text reading, embedding). Blocks for the load; call it off the main thread.
Throws
| ModelverseException | when no vision family of the library claims the files, the family's task has no door in this release, or the load fails, named in the message. |