-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from WildMeOrg/id-pathways
ia pathways docs
- Loading branch information
Showing
4 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Image Analysis Development | ||
|
||
## Code Pathways to IA | ||
|
||
### Single Encounter Submission | ||
1. User starts on submit.jsp | ||
2. `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());` | ||
3. WBIA detection occurs independently | ||
4. `IBEISIA.processCallback` | ||
- `processCallbackDetect(...)` | ||
- `IA.intakeAnnotations(myShepherd2, needIdentifying, parentTask, false);` | ||
- `IAGateway.addToQueue(context, qjob.toString());` | ||
5. `IBEISIA.processCallback` | ||
- `IBEISIA.processCallbackIdentify` | ||
6. Results visible from "match results" button on annotation on Encounter page | ||
|
||
### Bulk Import | ||
_Assumes bulk detection on the ImportTask has already occurred._ | ||
|
||
1. User has completed a bulk import and is looking at it on the related import.jsp page. | ||
2. `resendBulkImportID.jsp` | ||
- `IA.intakeAnnotations(myShepherd, matchMeAnns, subParentTask,false);` | ||
- `IAGateway.addToQueue(context, qjob.toString());` | ||
3. Queue (“IA”) sends to WBIA | ||
4. `IBEISIA.processCallback` when job returned by WBIA to /ia | ||
- `IBEISIA.processCallbackIdentify` | ||
5. 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._ | ||
|
||
1. User clicks “start match” or “start another match” from encounter.jsp | ||
- `encounter.jsp.iaMatchFilterGo(...)` | ||
- `ia.IBEIS.js.restCall(...)` | ||
2. `IAGateway.java` | ||
- doPost | ||
- `if (j.optBoolean("enqueue", false) || j.optBoolean("v2", false)) { ` | ||
- `addToDetectionQueue(context, j.toString());` or `addToQueue (...)` depending on fastlane status | ||
3. Queue (“detection”/fastlane) - except for HotSpotter jobs which are sent to “IA” queue sends to WBIA | ||
4. `IBEISIA.processCallback` when job returned by WBIA to /ia | ||
- `IBEISIA.processCallbackIdentify` | ||
5. Results visible from “match results” button on annotation on Encounter page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
dev-setup | ||
pr-workflow | ||
code-guide | ||
ia-dev | ||
copy-guide | ||
roadmap | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters