Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7713333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:50:59+00:00 2026-06-01T01:50:59+00:00

I am working on a face detection and recognition software…i succeeded in detecting the

  • 0

I am working on a face detection and recognition software…i succeeded in detecting the faces and recognizing them using EigenObjectRecognizer…But sometimes its giving wrong results…So i would set the roi of the faces using HaarCascade object to an ellipse so that i should be able to nullify the effect of the background…

ellipse = new Ellipse(new PointF(face.rect.X + (face.rect.Width / 2), face.rect.Y + (face.rect.Height / 2)), new SizeF(face.rect.Width – 5, face.rect.Height – 25), 0);
ImageFrame.Draw(ellipse, new Bgr(Color.Green), 2);

Now it can draw an ellipse around the face…But how to set the face’s roi to this ellipse…

Please help me with this…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:51:00+00:00Added an answer on June 1, 2026 at 1:51 am

    Sorry but you can’t actually set the ROI of the image to an ellipse, it’s very complicated and slow to do this.

    Well its not slow to do it parse but every time you access the image data it will be force to go through several for loops to find the correct position and conditions to make sure it does not stray. The detrimental effect to performance means it’s not been implemented. You could always edit the source and set it up if you wanted.

    Alternatively the best method you will have is to create a blank image of the ROI and copy the data of the face contained within the ellipse across using a couple of for loops byte by byte. You could also use the conditional copy to only copy skin coloured texture.

    If you need a little help on this let me know. But eventually you will end up with a image of the face with a black background. Now since all faces will have a black background you can eliminate it’s effect.

    Hope this helps,

    Cheers,

    Chris

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a custom font using @font-face . Everything is working but some
I am working for a project at school regarding face detection, based on a
We are developing a J2ME application and sometimes we face constraints while working with
I'm working on a face recognition project and I am having problems when projecting
I am working on openCV for detecting the face .I want face to get
Hello I am working on a project involving in face recognition for which I
Possible Duplicate: css @font-face not working with firefox, but working with chrome and IE
I have been working on a project using OpenCV and have made a face
I'm working on collision detection for a game written using the Microsoft XNA framework
i'm working on a website and currently using the @font-face tehnique ( this +

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.