I want to convert the real-time image received by the camera and output it at the same time

I can upload (original, original) images and (gray, gray) images in one window using one camera.

But when I try to upload the (original, gray) image to the window, I get an error.

Please help me…

This is the (original, original) image and (gray, gray) image code to be uploaded to the window.

edit your posts, replace the screenshots with the text they contain.

then google for the numpy error that is raised by np.concatenate