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
1023c381
Commit
1023c381
authored
Feb 18, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1550 from mshabunin:install-samples-src
parents
f3193174
4223df69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
scene_reconstruction.cpp
modules/sfm/samples/scene_reconstruction.cpp
+1
-1
trajectory_reconstruccion.cpp
modules/sfm/samples/trajectory_reconstruccion.cpp
+2
-3
No files found.
modules/sfm/samples/scene_reconstruction.cpp
View file @
1023c381
...
...
@@ -28,7 +28,7 @@ static void help() {
}
int
getdir
(
const
string
_filename
,
vector
<
String
>
&
files
)
static
int
getdir
(
const
string
_filename
,
vector
<
String
>
&
files
)
{
ifstream
myfile
(
_filename
.
c_str
());
if
(
!
myfile
.
is_open
())
{
...
...
modules/sfm/samples/trajectory_reconstruccion.cpp
View file @
1023c381
...
...
@@ -50,8 +50,7 @@ static void help() {
* values will be (-1,-1).
*/
void
parser_2D_tracks
(
const
String
&
_filename
,
std
::
vector
<
Mat
>
&
points2d
)
static
void
parser_2D_tracks
(
const
String
&
_filename
,
std
::
vector
<
Mat
>
&
points2d
)
{
ifstream
myfile
(
_filename
.
c_str
());
...
...
@@ -109,7 +108,7 @@ parser_2D_tracks(const String &_filename, std::vector<Mat> &points2d )
bool
camera_pov
=
false
;
void
keyboard_callback
(
const
viz
::
KeyboardEvent
&
event
,
void
*
cookie
)
static
void
keyboard_callback
(
const
viz
::
KeyboardEvent
&
event
,
void
*
cookie
)
{
if
(
event
.
action
==
0
&&!
event
.
symbol
.
compare
(
"s"
)
)
camera_pov
=
!
camera_pov
;
...
...
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