Skip to content

Error with 'out1.to_pixels(score.data, ncnn::Mat::PIXEL_GRAY)' #18

@7Ston1

Description

@7Ston1

Hello, Linyi. Thank you very much for this outstanding work. However, I recently discovered a issue during testing. The code 'out1.to_pixels(score.data, ncnn::Mat::PIXEL_GRAY);' doesn't seem to work while the format 'ncnn::Mat::PIXEL_BGR' can work well. I noticed that you tried to use 'memcpy()' to solve the problem. Do you know why cause this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions