We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i change Y_data[i] = text_to_labels(text) to Y_data[i, 0:len(text)] = text_to_labels(text) if length of license plate not static?
The text was updated successfully, but these errors were encountered:
I used
labels = text_to_labels(text) Y_data[i, 0:len(labels)] = labels
Sorry, something went wrong.
I added a space in the list letters which gets add to the labels if plate length is less than maximum text length.
lab_data = [] lab_data = text_to_labels(text) if len(lab_data) < 11: for k in range((11-len(lab_data))): lab_data.append('36') Y_data[i] = lab_data
Where 36 is the index of the list letters where space is appended.
No branches or pull requests
How can i change Y_data[i] = text_to_labels(text) to Y_data[i, 0:len(text)] = text_to_labels(text) if length of license plate not static?
The text was updated successfully, but these errors were encountered: