Commit f0910466 authored by dbloisi's avatar dbloisi

fixing trailing whitespaces

parent a34f7b77
......@@ -186,7 +186,7 @@ The results as well as the input data are shown on the screen.
string suffix = fn.substr(index2);
string frameNumberString = fn.substr(index+1, index2-index-1);
istringstream iss(frameNumberString);
int frameNumber;
int frameNumber = 0;
iss >> frameNumber;
rectangle(frame, cv::Point(10, 2), cv::Point(100,20),
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
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
=======
......@@ -389,6 +386,3 @@ References
* 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.
......@@ -14,7 +14,7 @@ Look here in order to find use on your video stream algoritms like: motion extra
=============== ======================================================
|BgSub| **Title:** :ref:`Background_Subtraction`
*Compatibility:* > OpenCV 2.4.5
*Compatibility:* > OpenCV 2.4.6
*Author:* |Author_DomenicoB|
......@@ -34,4 +34,3 @@ Look here in order to find use on your video stream algoritms like: motion extra
:hidden:
../background_subtraction/background_subtraction
......@@ -156,7 +156,7 @@ void processImages(char* fistFrameFilename) {
string suffix = fn.substr(index2);
string frameNumberString = fn.substr(index+1, index2-index-1);
istringstream iss(frameNumberString);
int frameNumber;
int frameNumber = 0;
iss >> frameNumber;
rectangle(frame, cv::Point(10, 2), cv::Point(100,20),
cv::Scalar(255,255,255), -1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment