How do you use the DetectionNetwork
with a custom blob? I have trained yolo models and I use to just use setBlobPath()
to load the blob into the network but now the dai.node.DetetectionNetwork
doesn't seem to have the API to do this - it included setBlobPath
but the .build()
arguments don't provide a clear way to pass in my own blob:
def build(
input: Output,
nnArchive: NNArchive,
confidenceThreshold: float = ...
) -> DetectionNetwork: ...
def build(
input: Camera,
model: NNModelDescription,
fps: float | None = ...
) -> DetectionNetwork: ...
def build(
input: Camera,
model: str,
fps: float | None = ...
) -> DetectionNetwork: ...
def build(
input: Camera,
nnArchive: NNArchive,
fps: float | None = ...
) -> DetectionNetwork: ...
def build(
input: ReplayVideo,
model: NNModelDescription,
fps: float | None = ...
) -> DetectionNetwork: ...
def build(
input: ReplayVideo,
nnArchive: NNArchive,
fps: float | None = ...
) -> DetectionNetwork: ...