Skip to content

Instantly share code, notes, and snippets.

@softmantk
Last active October 28, 2020 10:16
Show Gist options
  • Select an option

  • Save softmantk/39c5dae4fa3aa49a617be85525eba6c2 to your computer and use it in GitHub Desktop.

Select an option

Save softmantk/39c5dae4fa3aa49a617be85525eba6c2 to your computer and use it in GitHub Desktop.

Revisions

  1. softmantk revised this gist Oct 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion manualhandling_ai_engine_response_format.js
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    var API_OUT = {
    'key': 'BJEJ3NVRH71Y9D45',
    'key': 'BJEJ3NVRH71Y9D45', // expecting all attributes are lowercase and won't contain space.
    'analysis': {
    'I': {
    'NFrames': 172,
  2. softmantk created this gist Oct 28, 2020.
    46 changes: 46 additions & 0 deletions manualhandling_ai_engine_response_format.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    var API_OUT = {
    'key': 'BJEJ3NVRH71Y9D45',
    'analysis': {
    'I': {
    'NFrames': 172,
    'NF_PROP': 0.8037,
    'NF_75Plus': 172,
    'NF_60_75': 0,
    'NF_50_60': 0
    },
    'C': {
    'NFrames': 42,
    'NF_PROP': 0.1963,
    'NF_75Plus': 42,
    'NF_60_75': 0,
    'NF_50_60': 0
    }
    },
    'data': {
    'videoOut': 'https://mhclgfiles.s3.amazonaws.com/output/VIDTue27Oct202007H30M32S8931.mp4?AWSAccessKeyId=ASIAW2OAY3MNSK4YTSXI&Signature=qVKUVAAs4q0D6Tlm8bXE58QN398%3D&x-amz-security-token=IQoJb3JpZ2luX2VjENL%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQDmo6UiPdoc%2FXEXjMObFm4UoY7ybkuo9BNYpnD4vfULPgIhANrg40SGEhllBclJI7hNFUc%2FZiA7n0RXtJcGyx1CeogEKrQDCCoQABoMNDY5MDkyNTg4MzE1Igwy3YMrfOr3vvue8agqkQNdXYTxRCV44WzPbI%2FIkLuvIy3Zaz6lOT4IV6wEMpCEo29e9gbMKUkBJdk2w5Y%2FsaA33Xu%2Bz%2FJFgJiB6E7voVC6AcwEQB%2Fvhmv%2FTh3rDwA9uPMGV%2FH4cuaaqsN6nWalsQyLnEXycNfoSK7vMMiKJAogNMGT9zvumrTc%2Fe9889POWnbIwzJkKkrGu4ThwPXrTAHZh5n0YMdXKThj5v4%2F42MzEkR63eiw3VVw7pF%2F66X3IY%2FBk2nC9NrJD%2BEK8z%2B%2FkY6rqZ98KXVNa4u1A%2F6PEIG5xaio74XdtgJl6KrASUSeu4373CzsCHQDzUdRRXJc6kjQj0stJg%2BozfD1f%2FX0RKs3quZYFumC0jyBXqDu%2FAtO8j347wvnQDPuVF%2Bg2R5%2FzMzwrbqDEllp8Gw1XxHgqCn8G%2FbAwzhkvmxor3wq%2FZGj06GWPe110hQaGgpdwyvJOqxW4euSBSjfMfAwzg9XhudsiMxCQyJk1RC7gUVL%2BgS36vI61gNzDaJORRDWRqe%2Bv5tl%2F1ZwKGQ6irBi50Ip%2BmMCMTDX6%2BT8BTrqAQxNTi%2Bs5z5iEFb5hMNglUwSDU7XRH7t2s84kHCchUCn86u5jZ7LnnQ%2FzbZ4EWIfTqMolEMWNYQYoGZlGe6gxXiFp9dPrcdXMuiehWMp30cHTURYHXAxaZloOgCitCSOnF8K7w5UrfSADfxAOctSPx4%2F5Qn9x8NcQEC8wJYobZ2o8k53TSeOuJOiwNJ5nylkevfW47c6n9x5BdfVez71meQcBLOAihICT3wyGizFL2ZcUy9h1aqKCcQtJiIarw0vnAyXqUv3xfU6N4RdfYhgIc6wXXLoREAvRUg75D2%2FCm%2Fq1lYnmLgz1NCPbg%3D%3D&Expires=1603880060',
    'frames':{
    '0': [
    'C',
    91.8,
    297,
    63,
    735,
    1077,
    0.0
    ],
    '1': [
    'C',
    91.8,
    304,
    63,
    736,
    1078,
    0.04
    ], // etc....
    },
    },
    'status': 'completed', // please mention what are the constants we can expect. [completed,failed etc...]
    'progress': 100
    };