Skip to content

about get range of Mat #1607

@4714407

Description

@4714407

I want to use javacv to implement the following C + + code, but I don't know how to write about range. Can you give me some guidance?

std::vector<cv::Range> batchRange{ cv::Range(0, 1), cv::Range::all(), cv::Range::all() };
cv::Mat mat1 = outputMat(batchRange).reshape(0, { outputMat.size[1], outputMat.size[2] });

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions