fixing trailing whitespaces

pull/1315/head
dbloisi 12 years ago
parent a34f7b7714
commit f0910466f9
  1. 10
      doc/tutorials/video/background_subtraction/background_subtraction.rst
  2. 3
      doc/tutorials/video/table_of_content_video/table_of_content_video.rst
  3. 2
      samples/cpp/tutorial_code/video/bg_sub.cpp

@ -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);

Loading…
Cancel
Save