How do I create a computer screen material for my project

I know that I can use a texture for my font, but I don’t know how to pass an array into a material. I tried a Function Library but that didn’t work. What am I supposed to do I? can’t get OpenCV working.