Thanks for the tutorial. What if we want the user to upload an image to verify if that face is found in the data set? How should we proceed in that case?
respected Sir, I am one of the subscriber. I need one CNN Program to identify spores (Mircoogranisms) images, if you kindly do it, I will be much thankful to you. thanks
i modified your code abit and i can create a dataset from my webcam from face identification ,i then created my dataset of 40*10 people ,then i used load database function to load the data,then used the face recognition function to recognise fuction ,the codes work fine and i still get results accurately ,the problem is that when i select image that when i for example try to compare same images in different folders it dosent match the righ images and the result becomes a different person.but thank you so much ilove the lessons
The possible reasons of this problem are: 1. Dataset name mismatching 2. Directory mismatching 3. Incorrect iteration in for loop 4. Incorrect image size To solve the problem follow the steps: 1. Check if you have taken exact number of 0s. Then check if all of the images are of same resolution 2. Check if the number of iteration agrees with the number of images 3. Check if you are pointing to correct directory 4. Check if the dataset has been named properly.
i went into your website for this code and dataset, its down i have now trying to open it but its not opening for since a week. moreover plz also explain the face recognition code also .
sir i made my own data of 5 persons with 10 pictures each, i got an error all_Images(:,(i-1)*10+j)=reshape(image_Container,size(image_Container,1)*size(image_Container,2),1); i got error in this line
Hello sir , thank you sir as this tutorial helped us a lot. Sir plz tell how to give the image manually by ourselves so that it can test it from database
Respected Sir,,, I want to discuss something, I used your idea but i have created 16 different classes for Recognitation like cat, dog, human, snake, grass etcc etcc. So,,, can i recognize those images by random search ,,,, or i am going in wrong direction??????
Sir please help me out here , Should i install image processing toolbox to execute these codes? i got series of errors stating 'invalid text character(s)'...and many warnings were displayed as well.
Sir can you tell me how to calculate the testing accuracy of this method?????? and if you can make another method of face recognition using HOG . thank you a lot sir.
sir need your guidance in context of choosing an image for recognition rather randomly select it from dataset .. how can i program this code with selecting an image for recognition from the datset?
Sir, I just run the code but every time the image will appear is different (not matched) and every time there matches with same image . Please help me out that how to solve the issue. Thank you sir.
Hello sir I have used the same method as shown in the video to upload my own small dataset with 5 people each having 4 images but it is showing error using reshape. pls tell how to fix the error
thank you for your answer i follow your steps but now i have other error, Error using reshape To RESHAPE the number of elements must not change. Error in load_database (line 10) all_Images(:,(i-1)*2+j)=reshape(image_Container,size(image_Container,1)*size(image_Container,2),1); >> i didn't understand it i'm working in 2 person every one have 2 picture if you have idea i hope you share. i'm waiting you answer thanks .
Error using * MTIMES is not fully supported for integer classes. At least one input must be scalar. To compute elementwise TIMES, use TIMES (.*) instead. Error in Face_recognition (line 15) all_image_Signatire(i,:)=single(mean_Removed(:,i)'*V); I get error in that line sir, what must i do? *sorry for my bad english
@@NuruzzamanFaruquis this program must run in matlab 2017a sir? i was download matlab 2017a, but can activated, i just have matlab 2016a and i got the same eror, what must i do sir?*sorry for my bad english
There are total of 40*10=400 images. Then why is all_Images = zeros(10304,40); and not all_Images = zeros(10304,400); Sir, if you can spare some time to explain this please do.
And I have one error, {Error using reshape , To RESHAPE the number of elements must not change. Error in load_database (line 15) 15. all_images(:,(i-1)*10+j)=reshape(image_container,size(image_container,1)*size(image_container,2),1); } Can you explain please? thanks
Dear sir while running your code it shows error that extra semicolon in empty sets... After removing the output is image in number form not actually the image please help me sir i need ur help right now
Shadman, I re-tested the code. It is working properly on my end. Please check if you have placed the data-set properly. Then check if your Matlab support 'conv2' operation.
Great tutorial but can you do some documentation of calculating eigon value & how you reconginze? Can you write the documentation why we find mean ? would be great if you reply urgent.
@@NuruzzamanFaruquis Thank you, can you write a simple quick documentation for recognition par? & send me fahadrafiq16@gmail.com ? If you can briefly write explanation? I need it urgent.
I wrote the code, but could not found in your given link, please. Requested to correct my error, please. Error using reshape To RESHAPE the number of elements must not change. Error in load_database (line 15) all_images(:,(i-1)*10+j)=reshape(image_container,size(image_container,1)*size(image_container,2),1); Thanks,
sir your lectures are very helpful to me ...could you please make a video for color, shape, texture feature extraction of images in data set to be classify
Hello sir I really want to appreciate your efforts. As your videos helps us to learn and solve problems but they are also a source of courage and motivation. I am doing a project on face recognition for video and have some question. Can you send me your email address?? Thank you.
Thank you for your appreciation. You can ask the question here. It will help other people who have the same question. Moreover, due to large volume of emails, your email may not be seen. So, I think it is better to ask the question here.
@@NuruzzamanFaruquis Thanks for your immediate reply as I mentioned before about my project. In my project I have to recognize 6 persons in a video. I have the data set for that persons and I am pretty sure that your code would do the part of classification/recognition of persons in terms of images. My question is how can I further proceed for my final task like recognition persons while in a running video. Thank you.
I need a project on the topic 'MATLAB Attendance System for Image Processing: Auto Attendance System in Excel Sheet. Please contact me, Sir. This is urgent and needs to be completed within one day. Thank you
hello sir. I tried to modify this code for choosing image manually. Now I can choose pictures manually, but when i run the code, command window says "matrix dimensions must agree". And can't recognise face. What went wrong?
@@NuruzzamanFaruquis Thank you very much for the quick response. I managed to run the code and successfully performed face recognition. I look forward to seeing more videos and tutorials of this nature. They are very helpful and educative especially for newbies like myself. Thank you once again.
@@kelvinchaibva9516 i am facing 2 errors while running the code please help me errors: >> load_database Error: File: load_database.m Line: 7 Column: 1 Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters. >> Face_Recognition Error: File: Face_Recognition.m Line: 4 Column: 35 Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters
@@NuruzzamanFaruquis i am facing 2 errors while running the code please help me errors: >> load_database Error: File: load_database.m Line: 7 Column: 1 Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters. >> Face_Recognition Error: File: Face_Recognition.m Line: 4 Column: 35 Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters
>> Face_Recognition Error using cd Cannot CD to C:\Users\user\Desktop\Face Recognition in matlab\s1\s1 (Name is nonexistent or not a directory). Error in load_database (line 9) cd(strcat('s',num2str(i))); Error in Face_Recognition (line 3) loaded_Image=load_database(); do you have solution for this?
Respected Nuruzzman Faruqui brother, I have one error in my code copy from your script as follows:- Error using reshape To RESHAPE the number of elements must not change. Error in load_database (line 15) all_images(:,(i-1)*10+j)=reshape(image_container,size(image_container,1)*size(image_container,2),1); Kindly, help me to correct, thanks.
i am facing 2 errors while running the code please help me errors: >> load_database Error: File: load_database.m Line: 7 Column: 1 Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters. >> Face_Recognition Error: File: Face_Recognition.m Line: 4 Column: 35 Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters
@@NuruzzamanFaruquis why i am use gray scale image , why not i am use color image Sir i want to say you give me those code for face recognition is which type of algorithm
I tried to apply my own images but it didnt work very well the error said that matrix dimension must be agree however I arranged their size and dimension how to overcome this problem
I did it and it worked for me. First I took 10 black and white photos of mine and then using paint I gave it the required dimension i.e. 92px * 112px . Then I converted my photos to .pgm format online. and added it in a new folder s41. Then I had to change the code at some places like 1. all_Images=(10304,41) in Load_database.m 2. for i=1:41 in Load_database.m 3. random_Index=(410*rand(1,1)) in Face_Recognition.m
The download link is on the top of the 'Preparing the dataset' page. Here is the link: www.nzfaruqui.com/preparing-data-set-for-face-recognition-using-matlab/
Sorry Sir, Would you mind to help me.. I cannot download your code from that link... in my browser, There has been a critical error on your website. Kindly to give me your email?
AslamoAlikum Sir, Sir, i have recently taken your lecture of face recogination and i try to develop tool by using real face to control parts of system like opening closing of floders or playing pausing of music like that ,, firstly i try these on small parts ,, so kindly guide me ,, is it possible or not??? Thank_you i am being waiting for your response