Skip to content

the displayImage() function doesn't work as desired #2

@Reza-Rajabi

Description

@Reza-Rajabi

the displayImage() function in the utility.h module does not work as expected. For example if you take a row of the sample data (ex. X.row(10)) and get an image from it by calling to getImageFromModelRow() function and pass that image to the displayImage() function, it shows a white image. That's interesting because, if you print out the image data inside the displayImage() function, the correct values has been passed to it. Also this function works properly when we called it in this line. The problem might be missing data when passing cv::Mat objects back and force, and the solution might be adding some copy() or clone().

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions