fixing trailing whitespaces
This commit is contained in:
parent
a34f7b7714
commit
f0910466f9
@ -186,7 +186,7 @@ The results as well as the input data are shown on the screen.
|
|||||||
string suffix = fn.substr(index2);
|
string suffix = fn.substr(index2);
|
||||||
string frameNumberString = fn.substr(index+1, index2-index-1);
|
string frameNumberString = fn.substr(index+1, index2-index-1);
|
||||||
istringstream iss(frameNumberString);
|
istringstream iss(frameNumberString);
|
||||||
int frameNumber;
|
int frameNumber = 0;
|
||||||
iss >> frameNumber;
|
iss >> frameNumber;
|
||||||
rectangle(frame, cv::Point(10, 2), cv::Point(100,20),
|
rectangle(frame, cv::Point(10, 2), cv::Point(100,20),
|
||||||
cv::Scalar(255,255,255), -1);
|
cv::Scalar(255,255,255), -1);
|
||||||
@ -327,10 +327,7 @@ We discuss the main parts of the above code:
|
|||||||
//update the path of the current frame
|
//update the path of the current frame
|
||||||
fn.assign(nextFrameFilename);
|
fn.assign(nextFrameFilename);
|
||||||
|
|
||||||
|
* Note that this example works only on image sequences in which the filename format is <n>.png, where n is the frame number (e.g., 7.png).
|
||||||
Note that:
|
|
||||||
|
|
||||||
* this example works only on image sequences in which the filename format is <n>.png, where n is the frame number (e.g., 7.png).
|
|
||||||
|
|
||||||
Results
|
Results
|
||||||
=======
|
=======
|
||||||
@ -389,6 +386,3 @@ References
|
|||||||
* Background Models Challenge (BMC) website, `<http://bmc.univ-bpclermont.fr/>`_
|
* Background Models Challenge (BMC) website, `<http://bmc.univ-bpclermont.fr/>`_
|
||||||
|
|
||||||
* Antoine Vacavant, Thierry Chateau, Alexis Wilhelm and Laurent Lequievre. A Benchmark Dataset for Foreground/Background Extraction. In ACCV 2012, Workshop: Background Models Challenge, LNCS 7728, 291-300. November 2012, Daejeon, Korea.
|
* Antoine Vacavant, Thierry Chateau, Alexis Wilhelm and Laurent Lequievre. A Benchmark Dataset for Foreground/Background Extraction. In ACCV 2012, Workshop: Background Models Challenge, LNCS 7728, 291-300. November 2012, Daejeon, Korea.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Look here in order to find use on your video stream algoritms like: motion extra
|
|||||||
=============== ======================================================
|
=============== ======================================================
|
||||||
|BgSub| **Title:** :ref:`Background_Subtraction`
|
|BgSub| **Title:** :ref:`Background_Subtraction`
|
||||||
|
|
||||||
*Compatibility:* > OpenCV 2.4.5
|
*Compatibility:* > OpenCV 2.4.6
|
||||||
|
|
||||||
*Author:* |Author_DomenicoB|
|
*Author:* |Author_DomenicoB|
|
||||||
|
|
||||||
@ -34,4 +34,3 @@ Look here in order to find use on your video stream algoritms like: motion extra
|
|||||||
:hidden:
|
:hidden:
|
||||||
|
|
||||||
../background_subtraction/background_subtraction
|
../background_subtraction/background_subtraction
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ void processImages(char* fistFrameFilename) {
|
|||||||
string suffix = fn.substr(index2);
|
string suffix = fn.substr(index2);
|
||||||
string frameNumberString = fn.substr(index+1, index2-index-1);
|
string frameNumberString = fn.substr(index+1, index2-index-1);
|
||||||
istringstream iss(frameNumberString);
|
istringstream iss(frameNumberString);
|
||||||
int frameNumber;
|
int frameNumber = 0;
|
||||||
iss >> frameNumber;
|
iss >> frameNumber;
|
||||||
rectangle(frame, cv::Point(10, 2), cv::Point(100,20),
|
rectangle(frame, cv::Point(10, 2), cv::Point(100,20),
|
||||||
cv::Scalar(255,255,255), -1);
|
cv::Scalar(255,255,255), -1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user