Closed jeffbl closed 2 months ago
@emmanuelwilson says: It looks to me that it breaks when there are no objects detected in the scene. As it looks to assign depth values to objects, if there are no objects then it breaks the JSON. A simple fix is to avoid populating the JSON if there are no objects present. I think if we just put those statements in the "if objects > 0" block I think that could fix it?
Yes! Specifically for the "object-depth-calculator" preprocessor.
Hat tip @jaydeepsingh25 for finding this
Current test extension, unicorn as backend
Go to this photo:
https://image.a11y.mcgill.ca/pages/imgs/queen-west-toronto.png
Get IMAGE rendering, and watch logs. Note:
then later, orchestrator complains about bad JSON