Skip to content

Latest commit

 

History

History

im2txt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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: