Fast way to retrieve values in c++

asked 2014-04-17 00:32:13 -0500

raqghu gravatar image

updated 2014-04-17 00:32:30 -0500

Hello,i am doin a project on face recognition in opencv using Fuzzy Local Binary Patterns.For an image i am storing 64 regions with 255 bins for each region.the data is very large.can anyone suggest me the best way to retrieve such huge data fastly.i would be thankful if u help me.

edit retag flag offensive close merge delete

Comments

1

64*255 is not that large.

retrieve from what ? and to where ?

are you trying to build a database and ask how to store it ?

berak gravatar imageberak ( 2014-04-17 02:40:11 -0500 )edit

Thanks for the replay. Actually i tried storing in .txt files but retrieving is taking long time. The values obtained during training need to be stored so that they can be compared while testing to recognise the test image(i think you are familiar with it). Now i have 241 trained subjects(6400 images).so i have 241 templates.i need to compare a test image with these 241 templates which is taking some time.so can you suggest me a way which is fast to do so.

raqghu gravatar imageraqghu ( 2014-04-17 08:47:47 -0500 )edit

what are your fuzzy lbp patterns like ? if they are integer, you could just save your whole trained model as an image (png loss-less compressed, even).

berak gravatar imageberak ( 2014-04-17 09:33:43 -0500 )edit

Thay are fractions. Example: 27.0025, 31.3339, 30.5582, 36.9173, 21.7224, 25.9656, 24.9337, 31.1325, 19.3356, 22.2393, 21.4636, 25.6549, 19.1826, such(64*255) values.

i think some data is lost if we store as a image.

raqghu gravatar imageraqghu ( 2014-04-17 09:50:03 -0500 )edit

true, won't work.

berak gravatar imageberak ( 2014-04-17 11:44:29 -0500 )edit

thanks for the reply.can anyone help me with fuzzy local binary patterns?

raqghu gravatar imageraqghu ( 2014-04-18 11:47:15 -0500 )edit