roboflow / inference

A fast, easy-to-use, production-ready inference server for computer vision supporting deployment of many popular model architectures and fine-tuned models.
https://inference.roboflow.com
Other
1.13k stars 84 forks source link

Add PerspectiveCorrectionBlock and PolygonSimplificationBlock #441

Closed grzegorz-roboflow closed 1 month ago

grzegorz-roboflow commented 1 month ago

Description

Add PerspectiveCorrectionBlock and PolygonSimplificationBlock

Type of change

How has this change been tested, please provide a testcase or example of how you tested the change?

        {
            "name": "coordinates transformer",
            "type": "debugpy",
            "request": "launch",
            "program": "${workspaceFolder}/examples/run_perspective_correction.py",
            "console": "integratedTerminal",
            "args": [
                "--source-path",
                "</path/to/photo.jpg>",
                "--model-id",
                "<model/version>",
                "--simplify-class-name", "<some class name>",
                "--extend-perspective-polygon-by-detections-anchor", ""
            ],
            "env": {
                "ROBOFLOW_API_KEY": "<your Roboflow API key>"
            },
            "justMyCode": false,
        },

Any specific deployment considerations

N/A

Docs

N/A