action #2692
closed
Added by lnussel over 10 years ago.
Updated over 6 years ago.
Estimated time:
(Total: 3.00 h)
Description
right now we walk through all areas in all needles and match each area one by one against the screenshot. We have to convert both the match area as well as the screenshot to opencv's internal format for every match. To speed this up all match areas could be collected and passed to the C++ opencv adapter at once so it only need to do the conversion once and one bulk result is returned.
the tinycv images are already read into the needle->{'img'} and even already extracted as area->{'img'} and this tinycv is an opencv structure. So there is nothing to gain here - we could cache some preprocessing, but it's really fast operations that do the thing
Will check if there is room for improvement:
- caching some operations (blur and color conversion)
- matching smaller areas (crop the large image around the original area of the needle)
- Status changed from New to In Progress
- Status changed from In Progress to Resolved
- Target version changed from future to future
Also available in: Atom
PDF