Read white and black words when threshold [closed]
The program can read the white text correctly but when it comes to the 2nd license plate, the program will still try read the white text and thus won't be able to read the actual letters on the license plate. Any way to fix this?
how would we know, without seeing your code ?
and please put your imge here not on an external bin. thank you.
Hi, this program I got it online and I'm trying to currently fit it to my likings and learn stuff from it. but I think that the code that revolves around detecting plates is this: https://pastebin.com/DKwzNZcS I'm just a beginner so hope i can learn a lot thanks
maybe apply a bitwise_not for the white text plates?
...or use the thresholding operation
THRESH_BINARY
for the white andTHRESH_BINARY_INV
for the black license plate.ill maybe try that, but i have to make it work with a video feed instead of a picture so its random when a car pops up with a black on white or white on black. edit 1: thanks it kinda works