FaceRecognition icon indicating copy to clipboard operation
FaceRecognition copied to clipboard

Error when train method is called

Open yassinumer opened this issue 5 years ago • 1 comments

Hello, I am working on a project which consists of the deployment of security devices such as a barrier and an electromagnetic lock to control the access of a facility.

I am looking developing an application and I'm having a problem with your Trainer class. I am able to add some training data, PGM files I generate using the Open Cv library. However, I have a problem. I have errors when I train the Trainer class. I have the following errors :

  • the expected dimensions could not be achieved! (using PCA and LPP);
  • using LDA I am able to train but recognize method returns null.

I am confused because I generate 8-bit grey levels PGM files with a size of 92x112. Please help me figure out the problem I have. Thank you !

yassinumer avatar May 28 '19 02:05 yassinumer

Hi there,

This project is no longer maintained. Sorry that I am not able to provide consultation for free.

On Tue, May 28, 2019 at 10:34 AM uy711591 [email protected] wrote:

Hello, I am working on a project which consists of the deployment of security devices such as a barrier and an electromagnetic lock to control the access of a facility.

I am looking developing an application and I'm having a problem with your Trainer class. I am able to add some training data, PGM files I generate using the Open Cv library. However, I have a problem. I have errors when I train the Trainer class. I have the following errors :

  • the expected dimensions could not be achieved! (using PCA and LPP);
  • using LDA I am able to train but recognize method returns null.

I am confused because I generate 8-bit grey levels PGM files with a size of 92x112. Please help me figure out the problem I have. Thank you !

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wihoho/FaceRecognition/issues/11?email_source=notifications&email_token=AAOG2TRO4CKYGECW4FHYT3DPXSK3PA5CNFSM4HP7II52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWDY2RA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOG2TQ57D3SGWACD4NPGJTPXSK3PANCNFSM4HP7II5Q .

-- Best Regards, Li Gong

wihoho avatar May 29 '19 00:05 wihoho