Created
April 25, 2022 15:01
-
-
Save antoinecourtin/0e0a07f7ace3db28c77d88b5230c167c to your computer and use it in GitHub Desktop.
Autogenerated from www.imagegraph.cc, My sketch title
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"caption":"My sketch title","offset":{"x":0,"y":0},"nodes":{"02650b32-9d95-4fb7-8a31-edbdf0cf17ba":{"id":"02650b32-9d95-4fb7-8a31-edbdf0cf17ba","position":{"x":526,"y":290},"type":"loadIIIFManifest","ports":{"port1":{"id":"port1","type":"bottom","properties":{"type":"imL"},"position":{"x":24,"y":106}}},"properties":{"text":"Loads a IIIF manifest. Paste in any IIIF manifest URL, which you can get from most libraries. ","form":"string","innerDefault":"https://iiif.bodleian.ox.ac.uk/iiif/manifest/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json","viewer":"https://universalviewer.io/uv.html?manifest=","innerValue":"https://iiif.bodleian.ox.ac.uk/iiif/manifest/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json"}},"141288bb-3548-4ad9-aea9-2ed01f41afc9":{"id":"141288bb-3548-4ad9-aea9-2ed01f41afc9","position":{"x":665,"y":451},"type":"detectFaces","ports":{"port1":{"id":"port1","type":"top","properties":{"type":"imL"},"position":{"x":24,"y":-12}},"port2":{"id":"port2","type":"bottom","properties":{"type":"imL"},"position":{"x":24,"y":60}}},"properties":{"text":"Uses the DLIB face detector to extract images of faces. ","form":"none"}},"ba1ddb2e-d46c-4818-acef-2f973a85507c":{"id":"ba1ddb2e-d46c-4818-acef-2f973a85507c","position":{"x":924,"y":586},"type":"saveAsGIF","ports":{"port1":{"id":"port1","type":"top","properties":{"type":"imL"},"position":{"x":24,"y":-12}}},"properties":{"text":"Save a list of images as a GIF. ","form":"none"}}},"selected":{"type":"node","id":"141288bb-3548-4ad9-aea9-2ed01f41afc9"},"links":{"9208a8e6-d15c-4118-87ae-b8c4fa6b01ea":{"id":"9208a8e6-d15c-4118-87ae-b8c4fa6b01ea","from":{"nodeId":"02650b32-9d95-4fb7-8a31-edbdf0cf17ba","portId":"port1"},"to":{"nodeId":"141288bb-3548-4ad9-aea9-2ed01f41afc9","portId":"port1"}},"9ea647c6-6459-4c58-9d18-5b15b3590881":{"id":"9ea647c6-6459-4c58-9d18-5b15b3590881","from":{"nodeId":"141288bb-3548-4ad9-aea9-2ed01f41afc9","portId":"port2"},"to":{"nodeId":"ba1ddb2e-d46c-4818-acef-2f973a85507c","portId":"port1"}}},"hovered":{}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "name": "ImageGraph.ipynb", "version": "0.3.2", "provenance": [], "collapsed_sections": [] }, "kernelspec": { "name": "python3", "display_name": "Python 3" } }, "cells": [ { "cell_type": "code", "metadata": { "id": "gsUbIGfNqSjV", "colab_type": "code", "colab": { "base_uri": "https://localhost:8080/", "height": 34 }, "outputId": "a306f9c8-c721-4280-fba4-f175cffa7090" }, "source": [ " !pip install -q -U git+https:\/\/github.com\/leoimpett\/pyimagegraph\nimport imagegraph as ig\nimL00 = ig.loadIIIFManifest(\"https:\/\/iiif.bodleian.ox.ac.uk\/iiif\/manifest\/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json\")\nimL01 = ig.detectFaces(imL00)\n_ = ig.saveAsGIF(imL01) " ], "execution_count": 0, "outputs": [ { "output_type": "stream", "text": [ " " ], "name": "stdout" } ] } ]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment