Image Analysis Development#
Code Pathways to IA#
Single Encounter Submission#
User starts on submit.jsp
EncounterForm
IA.intakeMediaAssets(myShepherd, enc.getMedia().parentTask);
IA. intakeMediaAssetsOneSpecies(myShepherd, assetsBySpecies.get(0), parentTask);
intakeMediaAssetsOneSpecies(myShepherd, mas, taxy, parentTask);
intakeMediaAssetsOneSpecies(Shepherd myShepherd, List<MediaAsset> mas,Taxonomy taxy, final Task parentTask, int tweetAssetId)
IAGateway.addToDetectionQueue(context,qjob.toString());
WBIA detection occurs independently
IBEISIA.processCallback
processCallbackDetect(...)
IA.intakeAnnotations(myShepherd2, needIdentifying, parentTask, false);
IAGateway.addToQueue(context, qjob.toString());
IBEISIA.processCallback
IBEISIA.processCallbackIdentify
Results visible from “match results” button on annotation on Encounter page
Bulk Import#
Assumes bulk detection on the ImportTask has already occurred.
User has completed a bulk import and is looking at it on the related import.jsp page.
resendBulkImportID.jsp
IA.intakeAnnotations(myShepherd, matchMeAnns, subParentTask,false);
IAGateway.addToQueue(context, qjob.toString());
Queue (“IA”) sends to WBIA
IBEISIA.processCallback
when job returned by WBIA to /ia
IBEISIA.processCallbackIdentify
Results visible from “match results” button on annotation on an imported Encounter page or from the import.jsp for the bulk import.
Manual ‘Start Match’ from Encounter Page#
Assumes detection has already run, and annotations already exist.
User clicks “start match” or “start another match” from encounter.jsp
encounter.jsp.iaMatchFilterGo(...)
ia.IBEIS.js.restCall(...)
IAGateway.java
doPost
if (j.optBoolean("enqueue", false) || j.optBoolean("v2", false)) {
addToDetectionQueue(context, j.toString());
oraddToQueue (...)
depending on fastlane status
Queue (“detection”/fastlane) - except for HotSpotter jobs which are sent to “IA” queue sends to WBIA
IBEISIA.processCallback
when job returned by WBIA to /ia
IBEISIA.processCallbackIdentify
Results visible from “match results” button on annotation on Encounter page