Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
218358a5
Commit
218358a5
authored
Oct 16, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected text detection once again to match the new MSER interface
parent
763954f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
webcam_demo.cpp
modules/text/samples/webcam_demo.cpp
+2
-1
No files found.
modules/text/samples/webcam_demo.cpp
View file @
218358a5
...
...
@@ -191,8 +191,9 @@ int main(int argc, char* argv[])
{
//Extract MSER
vector
<
vector
<
Point
>
>
contours
;
vector
<
Rect
>
bboxes
;
Ptr
<
MSER
>
mser
=
MSER
::
create
(
21
,(
int
)(
0.00002
*
grey
.
cols
*
grey
.
rows
),(
int
)(
0.05
*
grey
.
cols
*
grey
.
rows
),
1
,
0.7
);
mser
->
detect
AndStore
(
grey
,
contour
s
);
mser
->
detect
Regions
(
grey
,
contours
,
bboxe
s
);
//Convert the output of MSER to suitable input for the grouping/recognition algorithms
if
(
contours
.
size
()
>
0
)
...
...
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