Skip to main content
Version: 0.8.x [Latest Beta]

Quick start

This is the fastest way to run your first exported .denkflow pipeline.

What you need

Before you start, make sure you have:

  • a .denkflow export from the Vision AI Hub
  • a valid personal access token (PAT)
  • a test image
  • either a Python environment or a C/C++ build environment

Step 1: Install the SDK

Follow the matching section in the Installation Guide:

  • Python: wheel installation from the DENKweit package registry
  • C/C++: denkflow.h plus the shared library package for your platform

Step 2: Run an exported pipeline

from denkflow import Pipeline, ImageTensor

model_file = "path/to/exported_model.denkflow"
pat = "YOUR_PERSONAL_ACCESS_TOKEN"
image_file = "path/to/image.jpg"

pipeline = Pipeline.from_denkflow(model_file, pat=pat)
pipeline.initialize()

receiver = pipeline.subscribe(
"bounding_box_filter_node/filtered_bounding_boxes"
)

pipeline.publish_image_tensor("camera/image", ImageTensor.from_file(image_file))
pipeline.run()

objects = receiver.receive_bounding_box_tensor().to_objects(0.5)

for obj in objects:
print(obj.class_label.name, obj.confidence)

Step 3: Verify the runtime

If the pipeline initializes successfully and returns detections, your environment is working.

If the initialization fails:

  1. Confirm the model file is valid
  2. Confirm the PAT or license is valid
  3. Confirm your runtime dependencies are installed
  4. Check the Troubleshooting guide

Next steps