Use image to render walls

Hi all, this my first post. I am not a noob to programming or game dev, I am however a newb to Unreal and could really use some help getting started.I am creating a fantasy adventure game and I am trying to add some procedural level functionality. I have created 100s of maze map images like I have included. I also have around 100 wall pregabs.
All I want is to place a wall piece where a black line shows and floor piece where it is white.
I achieves this in Unity, by reading each pixel of the image and instantiating a wall or floor object. However, I soon realized the Engine was not going to provide the gameplay performance and visual quality i was after.
Any suggestions or pointer in a starting point that would be great.