Z
Z
Zanuda282021-03-02 11:36:14
Machine learning
Zanuda28, 2021-03-02 11:36:14

How to use AI to count the number of objects in a photo?

There is a task to count the number of identical objects in the photo taken from the copter. Are there any services that allow this to be done? By principle, you select one object as a sample, and then the program searches for and counts their number.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-03-02
@rPman

It seems that opencv has ready-made ones - template matching
. First, you need to somehow work with the picture with filters, remove the influence of lighting (for example, work not with the image itself, but with a derivative, or dividing it into a blurred version, separately by channels or reducing everything to black and white, etc. ) It seems that the main work here will depend on what kind of images and how high quality they are.
Also, if we are talking about vision, then you can use information about previous frames of the video stream, for example, a flying bird can be separated from the ground by comparing the speed (image shift in different parts of the frame will be different)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question