How does image classification differ from localization?
Reveal the answer and explore the explanation.
01EasyCoreHow does image classification differ from localization?
Answer
EasyCore
How does image classification differ from localization?
Answer
Assigns labels to an entire image.
Practical example
Determine whether a photo contains a cat without locating it.
PythonRelated concept example
a = (0,0,4,4)
b = (2,2,6,6)
inter = max(0,min(a[2],b[2])-max(a[0],b[0])) * max(0,min(a[3],b[3])-max(a[1],b[1]))
print(inter/(16+16-inter))Intersection over union for two fixed, valid rectangles.
Reference: Further reading ↗