gb96

gb96 / RamerDouglasPeucker / 0.2.0

Ramer–Douglas–Peucker

Royalty Free API Calls - 42
Simplify a 2D or 3D line
No Tags
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More

Run an Example

Input
Output
[
  [
    98,
    92,
    40,
    "fubar"
  ],
  [
    67.1,
    91.7,
    56.2,
    38.4
  ],
  [
    55,
    88,
    -2,
    "I love ALGORITHMIA!"
  ],
  [
    43,
    79,
    11
  ]
]

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run gb96/RamerDouglasPeucker/0.2.0 -d '{"points": [
  [ 98,  92, 40, "fubar"],
  [ 91,  92, 60],
  [ 83,  91, 59],
  [ 67.1,  91.7, 56.2, 38.4],
  [ 59,  89, 51],
  [ 55,  88, -2, "I love ALGORITHMIA!"],
  [ 49,  83, -9],
  [ 43,  79, 11]
], "epsilon": 2}' –-timeout 300
  
CLI Docs