- Edited
Thanks Erik for your help, but I think my problem is that the second stage is using the detection model 'det' and not the recognition model 'rec'. The first has only one class. My output from your code is '0'.
I am trying to crop that detection and pass it to the second NN to get that to read the characters. I know it isn't ideal for OCR in general, but this is a very specific use case and it works perfectly if manually I crop the detections and feed them in to it as a single NN as images.