Runtime Library

Lenscraft provides a UI to create and debug vision pipelines, but they are only useful if you can actually run them in a production setting. Lenscraft is also a library that you can use to load vision pipelines and run as part your codebase.

import lenscraft as lc

pipeline = lc.load_pipeline("path/to/my/vision/pipeline.json")

for frame in frames:
    result = pipeline.run(frame)