Forums - Scene detection API

2 posts / 0 new
Last post
Scene detection API
bhavik.kothari
Join Date: 28 May 19
Posts: 1
Posted: Wed, 2020-10-14 07:54

Hi All,

I do aware about one fastCV api to get motion vectors from frame using fcvTrackBMOpticalFlow16x16u8(). However I am looking for any API to get lightning or brightness details from fastCV api to detect whether it is day time or night time or there is no such sufficient light in a frame.

I highly appriciate if any of you know any API for the same.

Thanks in advance!

Thanks,

Bhavik

 

  • Up0
  • Down0
ss.pandiri
Join Date: 29 May 18
Posts: 58
Posted: Tue, 2021-01-19 01:06

Hi,

You can use the following api in fastCV:

fcvColorRGB888ToHSV888u8, documentation is available here: https://developer.qualcomm.com/docs/fastcv/api/group__color__conversion....

And the logic described here to acheive the expected result:

https://stackoverflow.com/questions/14243472/estimate-brightness-of-an-i...

thanks

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.