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 8660537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:16:35+00:00 2026-06-12T16:16:35+00:00

I am trying to extract several moving objects in a video frame, and extract

  • 0

I am trying to extract several moving objects in a video frame, and extract them as foreground. The data is from video frames.

The current problem is: the light is changing, so there are some shadows, or more brighter parts than the actual background. This leads to false background/foreground extraction by OpenCV MoG background segmentation method.

For this, I haven’t get any straightforward method, but have an idea like this: if I can extract the edges of those moving objects in the previous frame, then maybe I could track them using algorithms like SIFT in the next frame, see where they are, and regard them as foreground.

I think in this case, the light change won’t affect the result. If I am right on this point, then my question is:

How can I do the edge detection of those moving objects efficiently with OpenCV? If I need to use SIFT algorithm in OpenCV, is it freely available? From the web, I saw it was nonfree, am I right?

And my second question is: does anyone have a better idea for this?

Thank you.

  • 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-12T16:16:37+00:00Added an answer on June 12, 2026 at 4:16 pm

    If you want to do human detection/tracking you should look for research papers or projects regarding exactly that. There is a lot of it, you will even find some questions regarding that topic here on SOF:

    How can I detect and track people using OpenCV? (maybe outdated)

    single person tracking from video sequence

    How to do motion tracking of an object using video?

    Also, there are several questions addressing feature detectors/descriptors like SIFT and its more recent alternatives (SURF, ORB, FREAK – just to name some implemented in OpenCV):

    Are there any fast alternatives to SURF and SIFT for scale-invariant feature extraction?

    OpenCV for ANDROID image compare

    To put it simple, SIFT is not an algorithm to track moving objects, it is to detect image regions which are somehow unique and robust to several distortions (translation, rotation, scale…). Meaning, the same feature can be later detected in different image conditions. You can indeed use SIFT-like algorithms to identify objects, but maybe for person tracking there are better alternatives.
    To those image regions you can then apply some tracking algorithm, optical flow, for example – but there are more specific ones for human tracking.

    SIFT and SURF are “freely” available with OpenCV but parts of them are patented so people are avoiding to use them so they have no issues in the future because of those patents – this is the reason they where moved to the “nonfree” OpenCV module.

    Other problems you will have, besides the light issues you mentioned, are object occlusion and people entering-exiting the scene.

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

Sidebar

Related Questions

I am trying to extract the video id from a youtube url using the
I'm trying to extract data from a many to many table configuration. I'm sorry
i have tried several methods of trying to extract values from an XML file
I am trying to extract the content from a gpx file. The problem is
I am trying to extract some data from a website using a LINQ statement,
I have been attacking atoi from several different angles trying to extract ints from
I'm trying to extract some certain data from a website using JSoup and Java.
I am trying to figure out a better way to extract data from a
im trying to extract some files from a jar-file downloaded using java-webstart. below code
I am trying to extract the facebook id from an iframe in order to

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.