Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
f0910466
Commit
f0910466
authored
Sep 01, 2013
by
dbloisi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing trailing whitespaces
parent
a34f7b77
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
+4
-11
background_subtraction.rst
...s/video/background_subtraction/background_subtraction.rst
+2
-8
table_of_content_video.rst
...s/video/table_of_content_video/table_of_content_video.rst
+1
-2
bg_sub.cpp
samples/cpp/tutorial_code/video/bg_sub.cpp
+1
-1
No files found.
doc/tutorials/video/background_subtraction/background_subtraction.rst
View file @
f0910466
...
...
@@ -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.
doc/tutorials/video/table_of_content_video/table_of_content_video.rst
View file @
f0910466
...
...
@@ -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
samples/cpp/tutorial_code/video/bg_sub.cpp
View file @
f0910466
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment