Mjpg-streamer for M2+ & OV5640

I am trying to research into possible solution for using mjpg-streamer with M2+ Board and OV5640.

I found some threads in which mjpg-streamer is interfaced with some boards of Banana Pi.

Is it the same procedure with M2+ ?

Would love to get some help with this issue from the community Thanks :smiley: