Skip to content

Question about Converting Bitmap to imageData #182

@futureflsl

Description

@futureflsl

This program make it a lot easier for me to incorporate the yolov3 tiny into my c# project. Thanks a lot.
My images from video is in Bitmap format. What is the best way to convert Bitmap image to imageData to be used in "yoloWrapper.Detect(imageData);".
Do you have a function that use Bitmap or Image as input?
I notice the function in yoloWrapper.cs:
[DllImport(YoloLibraryGpu, EntryPoint = "detect_mat")]
internal static extern int DetectImageGpu(IntPtr pArray, int nSize, ref BboxContainer container);

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