mvoelk / ssd_detectors

SSD-based object and text detection with Keras, SSD, DSOD, TextBoxes, SegLink, TextBoxes++, CRNN
MIT License
302 stars 85 forks source link

CRNN output format #50

Closed anindya7 closed 4 years ago

anindya7 commented 4 years ago

Hi thank you once again. As mentioned in #49 I am trying to get back the predicted words (list of characters) + the coordinates of their bounding box using the code from SL_end2end_predict.ipynb on my custom images.

Could you please list how to retrieve this from the prediction returned by the rec_model?

I initialise my CRNN with

rec_model = CRNN((input_width, input_height, 1), len(alphabet), gru=True, prediction_only=True)

Thank you.

anindya7 commented 4 years ago

Inferred from crnn_utils.py