Open holmbergius opened 2 months ago
Progress/investigation:
if (opts.size() == 1 && annotsByIaClass.size() == 1) { newTaskParams.put("ibeis.identification", ((opts.get(0) == null) ? "DEFAULT" : opts.get(0))); topTask.setParameters(newTaskParams); tasks.add(topTask); // topTask will be used as *the*(only) task -- no children } else { **for (int i = 0; i < opts.size(); i++) {** //clustering by algorithm Task t = new Task(); t.setObjectAnnotations(annsOneIAClass); newTaskParams.put("ibeis.identification", ((opts.get(i) == null) ? "DEFAULT" : opts.get(i))); // overwrites each time t.setParameters(newTaskParams); topTask.addChild(t); tasks.add(t); } }
Clistering by algorithm causes the "match results" reference to point too low in the hierarchy tree and appear like only one algorithm was run.
Can reproduce via manual submission with >=2 images as well. Seems to hit the same logical block, which is unused by bulk import.
Expected Behavior When multiple annotations are detected on an image that has been manually submitted (submit.jsp route), each annotation should have all configured default=true algorithms run for matching.
Current Behavior Only one is currently displayed per annotation when clicking "match results", yet the correct number and combination are actually run in WBIA.
This is easily reproducible (see below).
Related community issues:
Testing Notes These images can help reproduce the issue.
![20111104-IMG_6539](https://github.com/WildMeOrg/Wildbook/assets/154927/f85bf903-4f87-4fd5-bd83-96f1595b1b77)