Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Runway im2txt model with p5.js

Get Started

  1. Open Runway, add im2txt model to your workspace

  2. Select "Network" as input and ouput, Run the model Your Runway interface should look like this:

  3. Update the "port" variable in the "sketch.js" file to the number shown in Runway input "Network" window, e.g. http://localhost:8006

  4. Run the sketch Go to current directory

    $ python -m SimpleHTTPServer     # $ python3 -m http.server (if you are using python 3)

    Go to localhost:8000 in your browser

  5. Click the "image to text" button get the caption of the image from your webcam. You should be able to see results like this:

You can’t perform that action at this time.