First time here? Check out the FAQ!
answered 2020-07-23 06:22:31 -0600
you probably should start reading the opencv tutorials
then, a simple
Mat img = imread("my.jpg")
will give you a decoded image, you can work on further