Skip to content

Documentation of output blob? #7087

@samuelwhiskeyjohnson

Description

@samuelwhiskeyjohnson
    modelFile = "res10_300x300_ssd_iter_140000_fp16.caffemodel"
    configFile = "deploy.prototxt"
    net = cv2.dnn.readNetFromCaffe(configFile, modelFile)
    blob = cv2.dnn.blobFromImage(frame, 1.0, (300, 300), [104, 117, 123], False, False)
    net.setInput(blob)
    detections = net.forward()

# detections.shape == (1, 1, 200, 7)
detections[a, b, c, d]

Is there official documentation that explains what a, b, c, d are?

For example, how would I know
detections[0, 0, 3, 2] is the 4th face's confidence level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions