GithubHelp home page GithubHelp logo

gpsinghsandhu / background-subtraction-using-gmm Goto Github PK

View Code? Open in Web Editor NEW
65.0 65.0 40.0 5.38 MB

This project is the C++ implementation of Background Subtraction using adaptive GMM models as discussed by Zoran Zivkovic in his paper "Improved Adaptive Gaussian Mixture Model for Background Subtraction".

C++ 100.00%

background-subtraction-using-gmm's Issues

N_ptr was nullptr

Hello, I am running the code in Visual Studio 2017 in Debug mode. The code builds successfully, however when I run it I get this error:
line 302 start = N_ptr->pixel_s; --> Exception thrown: read access violation. N_ptr was nullptr.

How can I solve?

Thank you

why "*(r_ptr++);" stands for R,

A quick glance at the precedence table for operators will tell you that postfix increment has a higher precedence (16) than dereference / indirection (15). This means that the complex expression *p++ is going to be grouped as: *(p++). That is to say, the * part will be applied to the value of the p++ part. So let's take the p++ part first.

rVal = *(r_ptr++);
gVal = *(r_ptr++);
bVal = *(r_ptr++);

https://stackoverflow.com/questions/18481740/pointer-expressions-ptr-ptr-and-ptr

Can not find file

I can not find file #include <opencv2\Blob_detection.hpp>, it make an error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.