How to convert Bitmap to Mat structur in EmguCV & How to detect two images shift

前端 未结 1 2162
再見小時候
再見小時候 2021-02-19 19:03

Hello Dear Forum Members !

I am working on a project to detect change view from security camera. I mean, when someone try to move camera (some kind of sabotage...) I hav

相关标签:
1条回答
  • 2021-02-19 19:26

    I know its very late to answer this but today I was looking for this problem in the internet and I found something like this:

    Bitmap bitmap; //This is your bitmap
    Image<Bgr, byte> imageCV = new Image<Bgr, byte>(bitmap); //Image Class from Emgu.CV
    Mat mat = imageCV.Mat; //This is your Image converted to Mat
    
    0 讨论(0)
提交回复
热议问题