Open hohonuuli opened 2 years ago
TODO: Setup meeting to design/implement coverage augmentation in FathomNet @kakanikatija @lonnylundsten @BGWoodward
From our 2022-01-25 Meeting:
POST
images and get bounding box proposals back as JSON. Expected turnaround for an image is on the order of a 1 second-ish.Discussion of our goals for full coverage are on MBARI's slack channel here.
*megalodon
@BGWoodward Hey, your predictor's response has output like the snippet below. Can you change it so that bbox is not a string but an array of number values instead(like scores)?
{
"bbox": "[1044.992431640625, 111.13956451416016, 1063.755126953125, 128.82638549804688]",
"category_id": "Anemone",
"scores": [
0.24541693925857544
]
}
@BGWoodward p.s. Requiring a trailing slash on the URL endpoint was a subtly evil touch. ;-)
I think I can do that. I'll double check there wasn't a reason they were a string (I can't think of one off the top of my head. re: the trailing slash, I think that was inherited from the fastapi template I based this off of. I can change that too. I'd like to take credit for being just devious enough to do that on purpose, but alas, I am not
LOL, I was tearing my hair out for about 30 minutes ... then I noticed the slash. Well played. You're the reason I'm drinking tonight.
BTW, no need to remove the slash now. I KNOW it's there.
Related to #23
Do we want to add the proposals to fathoment? Or just run metrics to compare the submitted images?
We haven't created this uber mega detector yet ....