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.

hog descriptors

hi

I use sdk2.5 usecase --- object detection to do pedestrian detection, and I try to edit its parameters (like block size/ overlap and so on)...

I want to check its result as feature vector ... HOW can I do this way?

ex. on open cv   http://lear.inrialpes.fr/people/triggs/pubs/Dalal-cvpr05.pdf

image size(64*128)

block size(16*16)/ cell size(8*8) / block stride(8*8)

then we can get 3780 of features and know their values.

thanks a lot

by Alice

  • Hello Alice,

    TI's Vision SDK supports and provides an implementation of vision algorithms used for ADAS applications.
    Algorithms are running on Embedded Vision Engine (EVE) module. EVE is a high-performance.
    The basic feature of EVE module algorithms use Region of Interest (ROI) and block matching.

    I suggest you to obtain more information about Vision SDK from your FAE.
    Vision SDK is under NDA agreement.


    Best regards,
    Yanko
  • Hello Alice,

    I made an investigation for your questions.

    There are algorithms for Histogram of Oriented Gradients (HOG) in Vision SDK 2.5.

    bam_vcop_hog_vector.h header files defines interfaces for integrating hog vector compute kernel into Block-based Acceleration Manager.

    #Q: I want to check its result as feature vector ... HOW can I do this way?


    The answer of this question you can find in following files:

    VISION_SDK_02_05_00_01/ti_components/algorithms_codecs/eve_sw_01_07_00_00/kernels/inc/ vcop_hog_vector_kernel.c

    VISION_SDK_02_05_00_01/ti_components/algorithms_codecs/eve_sw_01_07_00_00/kernels/vlib/vcop_hog_vector/test/ vcop_pd_hog_vector_tb.c

    See function - int hog_computation(unsigned short * inPtr,unsigned short * refPtr,unsigned short pitch)

    I note for size of frame and block features:

    #define FRM_WIDTH   (256/4)
    #define FRM_HEIGHT  (488/4)
    #define BLK_WIDTH   (32)
    #define BLK_HEIGHT  (32)

    I hope, it will help you.

    Best regards,

    Yanko

  • Amazing!
    Thanks a lot!!!!!!!