Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can add extra information to the request. This string will be added to the context (key is data). It is available only in the Code module (context variable).

Code Block
languagepy
'http://127.0.0.1:8000/analyze_image?width=1920&height=1024&data=SomeInfo'

In Code module you can access this string using:

Code Block
languagepy
context['data']

Types

analyze_raw_image

Used for sending the image as raw data. For example, the numpy array in Python is converted to binary format.

...