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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:01:11+00:00 2026-06-18T02:01:11+00:00

I need to create my own LBP Cascade Classifier using OpenCV, so to get

  • 0

I need to create my own LBP Cascade Classifier using OpenCV, so to get used to the process, I have been using a very small file set, to get the hang of it.

However, I am struggling to find decent information on opencv_traincascade. I set the process running on 87 positive images that were in a .vec file. I realize this is a tiny set and will not be of much use, but I was hoping it might be enough to pickup one of my positive images if I pasted it exactly onto a negative, just to test the theory.
However, when I started the training process, the result was that it got to stage 5 and then hung when starting stage 6.

I restarted the process with an even smaller positive set and it did the same thing – for some reason it gets to stage x and freezes on the Neg Count at the start of a training stage, and never recovers.

Does anyone have any ideas or suggestions? Is the problem the tiny size of my training set?

===== TRAINING 0-stage =====
BEGIN
POS count : consumed   6 : 6
NEG count : acceptanceRatio    2600 : 1
Precalculation time: 10.965
+----+---------+---------+
|  N |    HR   |    FA   |
+----+---------+---------+
|   1|        1|        0|
+----+---------+---------+
END

===== TRAINING 1-stage =====
BEGIN
POS count : consumed   6 : 6
NEG count : acceptanceRatio    2600 : 0.0244943
Precalculation time: 10.985
+----+---------+---------+
|  N |    HR   |    FA   |
+----+---------+---------+
|   1|        1|        0|
+----+---------+---------+
END

===== TRAINING 2-stage =====
BEGIN
POS count : consumed   6 : 6
NEG count : acceptanceRatio    2600 : 0.000697076
Precalculation time: 11.237
+----+---------+---------+
|  N |    HR   |    FA   |
+----+---------+---------+
|   1|        1|0.000384615|
+----+---------+---------+
END

===== TRAINING 3-stage =====
BEGIN
POS count : consumed   6 : 6
  • 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-18T02:01:12+00:00Added an answer on June 18, 2026 at 2:01 am

    I’m in the process of doing something similiar. The train stage can often get locked in a infinite loop and the code needs to be modified to prevent this condition. What parameters are you using for createsamples and traincascade? Try reducing the number of negative images in traincascade initially. This worked for me..

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

Sidebar

Related Questions

i am using raw sockets to create my own socket. i need to set
Suppose I need to create my own small DSL that would use Python to
I need to create my own grid which will have customized paging and sorting.
I have some problem to implement twig extension. I need to create my own
i need to create my own twitter widget in my asp.net-c# website.How to get
I need to create my own toolbar with set of buttons in the Visio
I need to create a gem, for my own use, that substitutes the current
I need create clone repository. but I do not know where can I get
I have dynamically created WrapPanel (_wp) with several Borders. And I need create handler
I'm beginner in android and I need to create own QR code scanner app.

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.