Closed TheCamilovisk closed 6 years ago
Hello @TheCamilovisk ! Sorry for the delayed response, I've been on vacation. I will review the code.
Hi @Cartucho! Do not worry! I was wondering if there is another way of implementing that idea, so I closed the request. But feel free to review! Thank you!
@TheCamilovisk I found both the new features very interesting. Do you think we can separate the two commits into two separate PR's? Like this one would be just about the image extensions and then there would be another one for the squared bounding boxes?
Hi @Cartucho! About the image loading, I think you're right. It' a nice and simple solution. I don't know if it would be any problem with other file types, but I did not find any problems. About the square box feature, I'll create another PR for this!
Thanks for you time!
According to OpenCV's imread docs:
If the image cannot be read (because of missing file, improper permissions, unsupported or invalid format), the function returns an empty matrix ( Mat::data==NULL ).
So we can use this :+1:
Hi @Cartucho!
I'm adding more image extension options to load. The dictionary model was chosen to make it easier to select and add more extensions.