I saw that object recognition was added. I don’t ...
# kotlindl
s
I saw that object recognition was added. I don’t see any examples of this though
Agree, that it should be moved to tutorials
d
Hey @zaleslaw super nice work with the library 🙂 I tried the
objectDetectionSSDWithVisualization
sample on masters with the attached screenshot results. It seems to be displaying low probable results. Is there a sample generating this GIF (or a still imag):

https://blog.jetbrains.com/wp-content/uploads/2021/09/KotlinDL03_7.gif

anywhere so I can use it?
This is the closest I could get, providing a square image and filtering by score. It seems that the offset of the rectangles have some kind of problem, objects seems to be a bit below
Is this expected, or I'm doing something/have something configured wrong?
z
Probably the master contains a bug in example with visualization, I ll share the working example tomorrow, which I use to generate the gif
👍 1
K 2
🙏 2
👍🏿 1
Hi, sorry for a long time for a response: this is a code of gif from the article generation (it takes 200 street photos and adds rectangles for detected objects after that creates 200 new photos with added rectangles). Also, I've attached the link to the 200 street photos for initial experiments.
Also, the bug with the incorrect size of rectangles was fixed
To fix it with the existing version 0.3 you should copy the code of SWING visualisation and remove x/y coefficients manually
d
Nice. Thanks for letting us know 👍
s
awesome!