Hi,
I am working with DM365, specifically Spectrum Digital DM365 EVM Rev E. I see that in the later versions of PSP/LSP, Face Detection module is not exposed as a device at all. The latest LSP that I have seen supporting Face Detect module is version 2.10.00
1) Can someone please point to me a reasonably newer version of PSP with support of Face Detect module?
2) With the LSP 2.10, I am using a sample application wherein, I do a video capture from composite interface (PAL video as input) and save the frame as PGM file (format link: http://netpbm.sourceforge.net/doc/pgm.html) . I am only saving Y component of the image I am assuming that it should look like a grey scale image. However all I see is gibberish. Can some one please indicate as to what I might be doing wrong? The following is the code I am using to save the frame as image:
fprintf(imgFile, "P5\n# %s, \n%d %d\n%d\n", fileName, 720, 576, 255);
for(unsigned int row = 0; row < 576; row++) {
for(unsigned int col = 0; col < 720; col++) {
fprintf(imgFile, "%d ", *(videoFrame + (row * 720 * 2) + col * 2 + 1));
}
fprintf(imgFile, "\n");
}
By the way, 720 is the configured image width.
Thanks for your time.
Regards,
Sreenath K R