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
 Face detection
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Wil

France
9 Posts

Posted - Dec 02 2019 :  04:20:47  Show Profile  Reply
Hello,
I am trying to make an application that would allow in addition to changes Tag, a detection of faces. I downloaded the evaluation version IEVision to test before buying it. I would like to know if the DLLs of the commercial version are the same as the ones I downloaded, because the detection made with an opencv-based tool, always detects more face than Ievision. Why this difference? Do you use these features? Should we parameterize components differently? Thank you for your opinion.
cordially

xequte

38127 Posts

Posted - Dec 02 2019 :  13:22:11  Show Profile  Reply
Hi Wil

The demo and purchased DLLs are the same. For face detection we use OpenCV, so should not be betting a different result from another OpenCV demo. If you are, please give us more details so we can investigate.

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

Wil

France
9 Posts

Posted - Dec 03 2019 :  03:44:47  Show Profile  Reply
I have several examples but I can not insert a screenshot to show you the difference. I can also provide you pictures on which the number of detected faces is different. If you tell me how to attach a photo, I put them online. Your forum asks me to connect while I am already.
cordially
Go to Top of Page

xequte

38127 Posts

Posted - Dec 03 2019 :  04:07:01  Show Profile  Reply
Hi Wil

You can email me the images at sales@xequte.com

What is the other OpenCV demo you are using?

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

xequte

38127 Posts

Posted - Dec 04 2019 :  04:26:18  Show Profile  Reply
Thanks for emailing the files.

Our Face Detection demo "merges" all overlapping rectangles, so if you have two faces close together it merges them.

This is done by:

m_objectsFinder.mergeAllRects();


We've now modified the example (IEVision\GetFaces) to maintain the faces as separated. The new code is:

var
  i, j, count: integer;
  rects:TIEVisionVectorRect;
  objName:AnsiString;

      for i := 0 to CheckListBox1.Items.Count-1 do
      begin
        objName := AnsiString( CheckListBox1.Items[i] );
        count := m_objectsFinder.getFoundRectCount(PAnsiChar(objName));
        for j := 0 to count - 1 do
        begin
          with m_objectsFinder.getFoundRect(PAnsiChar(objName), j) do
          begin
            ImageEnView1.LayersAdd( iesRectangle, Rect(x, y, x+width, y+height), clRed, 2 );
            ImageEnMView1.SetImageRect(ImageEnMView1.AppendImage(), ImageEnView1.IEBitmap, x, y, x+width, y+height);
          end;
        end;
      end;


Whereas, before it was:

      // merge intersecting rectangles of all searched objects
      rects := m_objectsFinder.mergeAllRects();

      // loop among rectangles
      for i := 0 to rects.size - 1 do
        with rects.getRect(i) do
        begin
          ImageEnView1.LayersAdd( iesRectangle, Rect(x, y, x+width, y+height), clRed, 2 );
          ImageEnMView1.SetImageRect(ImageEnMView1.AppendImage(), ImageEnView1.IEBitmap, x, y, x+width, y+height);
        end;


This now gives the same result as in the other demo.

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

Wil

France
9 Posts

Posted - Dec 04 2019 :  08:22:48  Show Profile  Reply
Hello,
I corrected the code as you have proposed and genial it works perfectly. Thank you for your efficiency and your speed to find a solution that will certainly interest your customers. Thanks again.
best regard
Go to Top of Page

xequte

38127 Posts

Posted - Dec 04 2019 :  13:43:06  Show Profile  Reply
Glad to help

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

ali

Iran
110 Posts

Posted - Dec 22 2019 :  13:09:29  Show Profile  Reply
Hi

Imageen have face detection, if you will add face recognation then it it is nice!

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38127 Posts

Posted - Dec 23 2019 :  04:04:57  Show Profile  Reply
Hi Ali

Facial recognition is supported by our IEVision add-in. Please try the demos at:

www.imageen.com/demos/index.html#IEVision

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

ali

Iran
110 Posts

Posted - Dec 31 2019 :  13:03:38  Show Profile  Reply
Hi Nigel

I checked it and you have only face detection in live film for webcam.
Many developers want to face detection with face recognation in especially live film for webcam and IP cameras.
For example after face detect then user add persons name and always persons names showing in top of image.

Best Regards

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