{"action":"opened","issue":{"url":"https://api.github.com/repos/biometrics/openbr/issues/513","repository_url":"https://api.github.com/repos/biometrics/openbr","labels_url":"https://api.github.com/repos/biometrics/openbr/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/biometrics/openbr/issues/513/comments","events_url":"https://api.github.com/repos/biometrics/openbr/issues/513/events","html_url":"https://github.com/biometrics/openbr/issues/513","id":189384528,"number":513,"title":"Training the model and classifying the images","user":{"login":"heroinsoul","id":7196540,"avatar_url":"https://avatars.githubusercontent.com/u/7196540?v=3","gravatar_id":"","url":"https://api.github.com/users/heroinsoul","html_url":"https://github.com/heroinsoul","followers_url":"https://api.github.com/users/heroinsoul/followers","following_url":"https://api.github.com/users/heroinsoul/following{/other_user}","gists_url":"https://api.github.com/users/heroinsoul/gists{/gist_id}","starred_url":"https://api.github.com/users/heroinsoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroinsoul/subscriptions","organizations_url":"https://api.github.com/users/heroinsoul/orgs","repos_url":"https://api.github.com/users/heroinsoul/repos","events_url":"https://api.github.com/users/heroinsoul/events{/privacy}","received_events_url":"https://api.github.com/users/heroinsoul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-15T12:55:14Z","updated_at":"2016-11-15T12:55:14Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to use OpenBR with the [ufi](http://ufi.kiv.zcu.cz/) dataset. I'm using cropped faces of these images. Every person has at 9 images in a separate folder. 1 additional image of each person is used for classification.\r\n\r\nNow, I've trained the model using the following command:\r\n\r\n```\r\n$ br -algorithm \"Open+Cvt(Gray)+Cascade(FrontalFace)+ASEFEyes+Affine(128,128,0.33,0.45)+CvtFloat+PCA(0.95)\" -train train.csv EigenFaces\r\nSet algorithm to Open+Cvt(Gray)+Cascade(FrontalFace)+ASEFEyes+Affine(128,128,0.33,0.45)+CvtFloat+PCA(0.95)\r\nTraining on train.csv to EigenFaces\r\n2502 Training Files\r\nTraining Enrollment\r\nProjecting Open+Cvt+Cascade+ASEFEyes+Affine(width=128,height=128,x1=0.33,y1=0.45)+CvtFloat\r\n...\r\nTraining \"PCA\" \r\n...\r\nStoring EigenFaces\r\nTraining Time: 00:02:06\r\n```\r\n\r\nwhere train.csv is a comma-separated list of files in training directory, in a format like\r\n\r\n```\r\nfile-path,id\r\n~/train/501/501-501_4.png,501\r\n~/train/501/501-501_9.png,501\r\n~/train/501/501-501_10.png,501\r\n~/train/501/501-501_8.png,501\r\n~/train/501/501-501_2.png,501\r\n...\r\n```\r\n\r\nTraining process seem to go fine, so I move to the process of enrolling the images\r\n\r\n```\r\n$ br -algorithm EigenFaces -enroll train.csv enroll_data.gal\r\nSet algorithm to EigenFaces\r\nLoading /home/holod/facerec/openbr/EigenFaces\r\nEnrolling inesc-train.csv to enroll_data.gal\r\n100.00%  ELAPSED=00:00:13  REMAINING=00:00:00  COUNT=2502\r\n```\r\n\r\nThis also seems to work fine. Now I finally try to classify the test image using the trained model\r\n\r\n```\r\nbr -algorithm EigenFaces -compare test/1/1-1_3.png enroll_data.gal \r\nSet algorithm to EigenFaces\r\nLoading /home/holod/facerec/openbr/EigenFaces\r\nComparing test/1/1-1_3.png and enroll_data.gal\r\nEnrolling test/1/1-1_3.png to 1-1_3rBaE6S.mem\r\n100.00%  ELAPSED=00:00:00  REMAINING=00:00:00  COUNT=1\r\nSegmentation fault\r\n```\r\n\r\nAnd here I get a segmentation fault. I'm not sure what I do wrong here. Can you please help me with this?\r\n\r\nThanks"}}
{"actor":{"display_login":"heroinsoul"}}