I’m currently creating a workflow to do segmentation on an image of a card and I would like to pass the corners of the detected polygon into the perspective correction block to have it transform the perspective of the card.
The problem I’m running into is the Perspective Correction block requires a polygon polygon zone be set and I can’t figure out how to link it to the prediction the model makes. In the additional setting, I have the prediction linked to the model, but that doesn’t seem to have an impact
I confirmed that the model correctly creates a polygon of the card.
**Project Type: Workflow with segmentation model and perspective correction block
This wouldn’t necessarily make it more intuitive, but it might be helpful to add a “Troubleshooting” section at the bottom of the configuration panel on the right for each block. So like in this example you could add to the Perspective Correction block “Some scenarios require a Dynamic Zone block to precede this block…etc” Or maybe it’s “Most scenarios…”, but you get the idea. Or you could link to the docs and put the Troubleshooting in there.
Agreed, when I tried to link a block to the “Perspective Polygons” input it was not clear which blocks were supported. Referencing the Dynamic Zone block would have saved me a lot of time.
Also, the documentation could be more friendly supplying examples of how to use the Perspective Correction Block in the workflow tool. It’s difficult to go back through all the blog post to find the one that mentions how to use it