kritanjalijain

kritanjalijain / Ritm / 1.0.13

README.md

Ritm

Source for https://algorithmia.com/algorithms/kritanjalijain/Ritm

  • Version 1.0.11 - Works with

    • base64strings as input {"img_name":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QBqRXhpZgAA .............. clicks":"[[317,470,0],[111,487,1]]"}
    • returns a flatten mask array dict with mask as key {'mask': '33079,33080,33081,33082,33083.................}
    • commit id - 3e96cecb671ebf68bb30a0851d3ccbb5a4bb1faa
  • Version 1.0.6 - Works with

    • img and mask paths as input {"clicks": "[[609,247,0],[431,605,0]]", "image": "data://kritanjalijain/Ritm/test2.jpeg", "mask": "data://kritanjalijain/Ritm/mask2.png"}
    • returns path of json file mask array data "data://.algo/kritanjalijain/Ritm/perm/36047650-07fb-4401-b6b7-79221b77aad6.json"
    • commit - ef2907784b0ed41e06779f757417fdfb4d6669ad
  • Colab Notebook Link - https://colab.research.google.com/drive/1eE_rgm1lejnFlbApphdW6X4OGSkQUZA7?usp=sharing

  • mask.txt - input file (contains info on base64 img string, mask 64string, clicks) https://drive.google.com/file/d/1suHorsQFmhbZPgbRey88b4bISRgZYZ5j/view?usp=sharing