This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Implementation of ROI in IPNC RDK version 3.8

Hi,

I am working on ROI....Just to check how to work ROI, in your original full-feature usecase in IPNC RDK 3.8

I checked with ROI type = ROI_PRIVACY_MASK, & It works... I can see effect on streaming. (selected portion is MASKed)

But,

1. With Other Type (like - ROI_BACKGROUND_TYPE & ROI_FOREGROUND_TYPE), Not able to see effect on video or streaming. How can i do?

2. I want to also implement ROI as a CROP..... Means only selected portion is visible and other is not visible...Like reverse of ROI_FOREGROUND_TYPE.

    How can I implement ?

    Is there any patch for driver, then please provide us.

Thanks & Regards,

Sandip Gokani.

  • Hi,
    ROI Type like ROI_BACKGROUND_TYPE & ROI_FOREGROUND_TYPE will be used to increase or decrease the video quality. They will not mask the video. They changes the Qp of ROI.
    If you want to implement ROI as crop, you need to pass 4 ROIs of type PRIVACY MASK around your interested area. Like ROI_1 wil be TOP(top means co-ordinates), ROI_2 will be left side of your interested area, ROI_3 will be Right side, ROI_4 will be below of your interested area.

    Thanks,
    Veeranna
  • Hi,
    Thanks for quick response.

    Actually, I want to do only selected area should be shown on camera only, and other area should be Mask (we can say "removed").
    [By appling only '1' ROI]
    By your feedback, when I apply ROIs of type PRIVACY MASK (4 times : TOP, LEFT, RIGHT & BOTTOM) around my interested area, all are should be masked....

    So, Just want to invert of type PRIVACY MASK around my interested area.

    Waiting for your reply.

    Thanks & regards,
    Sandip Gokani.
  • invert of privacy mask is not possible in our encoder.

    "By your feedback, when I apply ROIs of type PRIVACY MASK (4 times : TOP, LEFT, RIGHT & BOTTOM) around my interested area, all are should be masked...."

    What you mean by this? If you apply privacy mask for regions around interested area, your interested area will not get mask.

    Thanks,
  • Yes, I agree with your point, that apply privacy mask for regions around interested area, your interested area will not get mask.

    My Point is to invert of Privacy Mask.....Is there possible by providing any patch for encoder?

    One more query,

    As you replied me that "ROI Type like ROI_BACKGROUND_TYPE & ROI_FOREGROUND_TYPE will be used to increase or decrease the video quality. They will not mask the video. They changes the Qp of ROI".

    So, Its possible that only selected area is focused only by above ROI type..

    Regards,

    Sandip

  • There is no plan to implement invert of privacy mask feature in encoder. And ROI_BACKGROUND_TYPE & ROI_FOREGROUND_TYPE will increase quality of the interested area.

    Thanks,
  • Hi,
    For Invert of Privacy Mask (ROI), Is there any possibility for CROP my Image?
    "CROP" functionality is there in IPNC RDK Version 3.8 ?

    Regards,
    Sandip Gokani
  • Any Sys control for CROP?

    Regards,
    Sandip
  • Hi,

    Require one more help for ROI.

    I set ROI on Video Frames with appropriate X, Y, Width and Height and its working good with resolution 720x480 on stream2.

    Now, If I changed resolution dynamically then ROI is not changed according to new Resolution.

    I have did same with privacy masking ....

    you can see on link : https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/404781

    But not able to do same for ROI (encoder side).

    Can you please help on this?

    Regards,

    Sandip Gokani

  • Hi Sandip,

             Can you more elaborate on this with example. How dynamic change in Widht & Height will effect ROI unless ROI co-ordinated changes.

    If you don't change the ROI co-ordinated, it remains in its places irrespective of resolution. 

    Regards

    Gajanan