ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 recognition on videos
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Wil

France
9 Posts

Posted - Jan 09 2020 :  09:03:23  Show Profile  Reply
Hello,
I'm looking for an example of face recognition on videos (like the demo for an image). The only examples I see are with a camera. Do you have a solution? Thank you.

ali

Iran
110 Posts

Posted - Jan 12 2020 :  10:53:31  Show Profile  Reply
Hi

Also I want to recognation in live video for first time with good quality webcam.

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38127 Posts

Posted - Jan 12 2020 :  21:22:22  Show Profile  Reply
Hi

I'm afraid there is not a full demo for that at this time, but take a look at the demo:

Demos\IEVision\TrackObjects\TrackObjects.dpr

Which shows face detection and tracking in a live video. You should be able to modify that.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 13 2020 :  12:09:20  Show Profile  Reply
Dear Nigel

I tested it and it sample is not useful.
We want to face detection and recognation face for example in live video if show my face then in top of my face show 'Ali Abbasi' and if in live video show your face them a top of face show 'Nigel'.
We want to face recognation and face detection is not complete.
I am sure it is very useful for many developers.
Please see in the attachment file.

Best Regards

Ali Abbasi

Go to Top of Page

Wil

France
9 Posts

Posted - Jan 14 2020 :  07:43:02  Show Profile  Reply
For my part I would like to use a film to capture several faces. The examples you provide seem to work only with a computer camera and I don't see how to modify the sources to adapt them to a video. Thank you for your help.
Best Regards
Go to Top of Page

xequte

38127 Posts

Posted - Jan 22 2020 :  18:56:06  Show Profile  Reply
Here is a demo that show facial recognition in a connected video camera stream:

www.ImageEn.com/files/Demos/Run/IEVision/FaceRecognizerVideo/FaceRecognizerVideo.zip

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 23 2020 :  01:06:43  Show Profile  Reply
Hi Nigel

Thank you very much, I will test it and I find bugs and problems then I will report you.


Best Regards

Ali Abbasi
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 23 2020 :  06:56:37  Show Profile  Reply
Hi Nigel

In the attachments you can find error of this sample about missing ImageEnManifest.res.

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38127 Posts

Posted - Jan 23 2020 :  13:48:02  Show Profile  Reply
Hi Ali

You can just remove that reference, or download it again from the link above.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 24 2020 :  01:08:51  Show Profile  Reply
Hi Nigel

Thank you, I downloaded new version of it demo and test it.
-I add detected face name 'Ali' and other face to 'Bob'.
When 'Ali' and 'Bob' in one time show in viedo then all faces name show 'Bob'. Also again 'Ali' show to video then name 'Bob'.
Allwas show last name saved!

-Also if face name show above of face box then it is better.(similar my above pictures of 'Mike' and ' Michael '.

-I am sure which you can make a good face recognation for us!


Best Regards

Ali Abbasi
Go to Top of Page

xequte

38127 Posts

Posted - Jan 24 2020 :  14:03:19  Show Profile  Reply
Hi Ali

You need to add the name multiple times (e.g. at least 10) to improve the accuracy.

IEVision is using the OpenCV library for facial recognition, so we cannot improve the accuracy ourselves.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 24 2020 :  14:58:01  Show Profile  Reply
Hi Nigel

> You need to add the name multiple times (e.g. at least 10) to improve the accuracy.

Does it take 10 seconds or min. to add any name? (For add a name we need to 10 seconds or min?)

Also I tested after 15 seconds I added new name but allways show last name save for all face recognatied.

This sample face detection is good but you most working in face recognation which in my test not good.

Best Regards

Ali Abbasi
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 26 2020 :  11:53:12  Show Profile  Reply
Hi Nigel

I can add only one name for recognateed face.
I can not add 2 or 3 ... face for this sample.
Please test it.

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38127 Posts

Posted - Jan 26 2020 :  21:49:34  Show Profile  Reply
Hi Ali

Every time you click the "Add Detected Face..." (even if it already shows a name) the image is added to the face database and improves the accuracy. You can confirm this by clicking the "View Face Database" button.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 27 2020 :  13:06:18  Show Profile  Reply
Hi Nigel

I tested it and accuracy for recognation not good.
Please you will test with 3 or over persons tested then you can find confuse for face recognation beaten persons faces.

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38127 Posts

Posted - Jan 27 2020 :  13:48:50  Show Profile  Reply
Hi Ali

Recognition is performed by the popular open source library OpenCV. We cannot modify OpenCV.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 29 2020 :  01:06:25  Show Profile  Reply
Hi Nigel

I tested again and below is results:
-face detection is ok which I think it is result of OpenCV.
-Problem is face recognation and if face recognated for example 'Ali' then show in above face name 'Ali' and if do not recognated then do not show face name (show face name 'unknown.
Main problem is if face not recognated then show pervios face name and if do not recognated face then show 'unknown'. If you fix it then I think it is ok.



Best Regards

Ali Abbasi
Go to Top of Page

xequte

38127 Posts

Posted - Jan 29 2020 :  16:42:07  Show Profile  Reply
Hi Ali

Are you able to show me a demo where openCV facial recognition works better than what we are getting?

I think the OpenCV methods are quite sensitive to lighting and other effects, and don't compare to nearal network methods.

The demo uses the Eigenfaces algorithm. You could try testing the other alogorithms too:
- Fisherfaces
- Local Binary Patterns Histograms (LBPH)

confidence is one of the parameters of the detect method. You can use that to determine how confident OpenCV is in its detection. If detection fails the returned label will be blank, but in my testing it always returns a label.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 30 2020 :  01:02:26  Show Profile  Reply
Dear Nigel

You use OpenCV and OpenCV is main and best library of machine vision, almost all projects direct or indirect using form OpenCV.
Not only for best face processing you need machine vision but also you need to machine learning.
In OpenCV tools and algorithms and machine learning is not direct aid then it is not complete and some limited machine learning such as statistics methods and supervised leaning use in this library.
Also OpenCV deployed in classifications methods.
So, if you need best quality and you need use TensorFlow library and other which it expert deployed with machine learning and a neural network learning which it is Unsupervised which it is good design and trained.
If you have any test then I can do it and I will report result to you.
I send a face recognation sample and other better decriptions to your email.

Best Regards

Ali Abbasi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: