Skip to content

OCL perf test of MOG2 should use UMat as input #10525

@GlueCrow

Description

@GlueCrow

CV_OCL_RUN(_image.isUMat(), ocl_apply(_image, _fgmask, learningRate))

In bgfg_mog2, it needs UMat as input to enable OpenCL support,
but these two tests just take Mat as input.
mog2->apply(frame_buffer[i], u_foreground);

OCL_ON (mog2_ocl->apply(frame, u_foreground));

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