The CTtext application records real-time text to CloudTurbine (CT).  Click on the window below to activate a demo showing text entry plus simultaneous screen capture (via CTstream).  Click the Play ‘>’ button lower right part of the WebScan screen to start the demo playing.

To launch the demo in its own page: CTtext Demo

Do the following to make your own browser-accessible CTtext + CTstream demo.  For instance, CTtext could annotate a video captured with CTstream.  Check out the CTtext and CTstream documentation for more details on these applications.

 

  1. Create a folder called CTdemo containing the following: CTtext.jar, CTstream.jar, CTweb.jar (HTTP server application).
  1. If you are running on a network which is not connected to the internet, you will need a local copy of the WebScan data viewer files; if you are connected to the internet, you can skip this step.  WebScan contains the browser-side JavaScript code and page formatting to view CloudTurbine data in a web browser.  This distribution is available from https://github.com/cycronix/webscan; more information about WebScan is available at http://www.cloudturbine.com/webscan-utility/.  Put the WebScan files in a sub-folder called CTweb (CTdemo/CTweb).
  1. Create a sub-folder for output data: CTdemo/CTdata
  1. Run the CTtext application as shown below.
  1. Select “Settings…” from CTtext’s File menu and set the “Flush interval” to 2s.  Click the OK button on the Settings dialog box.  Select “Start CT data” from the File menu.
  1. Run the CTstream application as shown below. This sets the quality (‘q’) of the output images to 0.5 (on a 0–1 scale) and flushes an output ZIP file every 5 seconds (‘f’).  We are using the default frame rate, which is 5 frames/sec; this means that every ZIP file will nominally contain 25 images.  The “-sc” option turns on screen capture mode.  You can see all the available options for CTstream by running it with the “-h” flag.  When CTstream launches, click the green “Start” button to begin screen capture streaming.
  1. Start the web server:
  1. At this point you are recording “live”.  Type text in CTtext’s edit box and move windows into CTstream’s video capture region (bounded by the red outline).  Use WebScan to see your results by pointing your browser at http://localhost:8000.