Why pushUncompressedVideoFrame doesn't work?

In Progress

Comments

2 comments

  • Avatar
    Andrey Terentyev

    Hello,

    Most probably, you did not request uncompressed frames from the Server.

    It can be done in the Engine's manifest. See the engine.cpp in the sample analytics plugin of the Metadata SDK

    std::string Engine::manifestString() const
    {
        // Ask the Server to supply uncompressed video frames in YUV420 format (see
        // https://en.wikipedia.org/wiki/YUV).
        //
        // Note that this format is used internally by the Server, therefore requires minimum
        // resources for decoding, thus it is the recommended format.
        return /*suppress newline*/ 1 + (const char*) R"json(
    {
        "capabilities": "needUncompressedVideoFrames_yuv420"
    }
    )json";
    }
    0
    Comment actions Permalink
  • Avatar
    Fujiwara Daichi

    Hi Andrey,

    Thank you for advise.

     

    By adding capability, successfully done uncompressed frame requests

     

    But then, bounding boxes are not captured. What is wrong with my source code?(same as first post).

    By debugging, below was done without error.

    pushMetadataPacket(metadataPacket.get());

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.