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.

FDK image storing problem



Hi guys,

I am working on FDK I have a problem please help me.
When an optical sensor capture an image that image data(templet) must
be stored anywhere in memory.I have to read that templet.Can anyone
tell me how to read that image data. I saw TA_hal_gpio_read_cmos_image
function but not getting where exactly that image is stored.Also how
to read that image data from memory.

Thanks in advance.

Regards,
Sakshi.


  • Hello Sakshi,

    The FDK does not store an image of the fingerprint as it takes a lot of memory.  It analyzes the scanned fingerprint and extracts features and stores information about the features on the SPI Flash. You can find the datasheet here

    There are a few other forum posts on this which might be of interest to you. You can search for it on the forum. ex: http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/70368/263234.aspx#263234

    Regards,

    Mugdha 

     

  •  Hi Mugdha,

    Thanks for quick reply.

    I want to know from what address of SPI flash this features are stored? And how can I read this data?

  • Hi Sakshi,

    There are a couple of ways to extract the actual image of the fingerprint after it has been read by the sensor.

    1) The FDK is intended to be a stand-alone module for reading and matching fingerprints. In the kit, the DSP acts like a slave device to a host processor (like MSP430). The host processor communicates with the DSP over UART and there are several commands. One of those commands does allow you to copy the image of the fingerprint from the DSP to the host processor over UART. You should engage with TooAn to use their communication API.

    2) The FDK is packaged with FDK_Demo code that runs only on the DSP. It appears you are using this demo code. In the main.c file of the FDK_Demo, you will see the following line that captures the fingerprint image from the sensor and stores it into local, on-chip memory at pointer "pImg" (address 0x5000@DATA):

        // 01. Collect image_1 (Image size 128 x 128 & 250 DPI) to address:0x05000   
        if(TA_Capture(pImg)==TA_TIME_OUT)

    The image is subsampled to a 128x128 pixel grayscale image, with each pixel made up of one byte.

    You are correct about the TA_hal_gpio_read_cmos_image() function. In fact, TA_Capture() calls this function to capture the fingerprint from the sensor.

    If you look at the very bottom of TA_demo_algo.c, the function TA_GetFeature() is where the image processing occurs on the fingerprint image. After this processing, the features are extracted and saved. You can set breakpoints to halt the execution in between these image processing steps to view the intermediate results.

    See this forum post for details on how to view the fingerprint image in CCS by using the Image Analyzer:
    http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/66988/244480.aspx#244480

    Hope this helps,
    Mark

     

  • Hi Mrak

    This will really help me...

    I will work on it n let u know.  :)

    Thanks

    Sakshi