Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ftl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Pope
ftl
Commits
b69425ac
Commit
b69425ac
authored
6 years ago
by
Nicolas Pope
Browse files
Options
Downloads
Patches
Plain Diff
cv node readme
parent
0a5a492d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cv-node/README.md
+49
-0
49 additions, 0 deletions
cv-node/README.md
with
49 additions
and
0 deletions
cv-node/README.md
0 → 100644
+
49
−
0
View file @
b69425ac
# Computer Vision Node
The program to be run on the camera compute nodes to calculate disparity from
stereo. Eventually this will also then send this data over the network to be
combined from all nodes.
## Build
`
cd <source_directory>
mkdir build
cd build
cmake ..
make
`
## Install
TODO. Currently, copy
`<source_direction>/config/config.json`
to
`~/config/ftl`
.
## Usage
An optional command-line argument can be passed to specify a stereo video file
to be used instead of directly attached cameras. The stereo video consists of
two videos (left and right) side by side to create a wider single video.
A
`config.json`
file should be located in
`~/.config/ftl`
.
All options found in the config file can be changed on the command line using
JSON pointers. For example:
`--disparity/algorithm=\"sgbm\"`
will change the
JSON config option at
`{ "disparity": { "algorithm": "sgbm" }}`
.
### Calibration
Cameras can be calibrated by using argument
`--calibrate`
. You either
need to provide a calibration video as an argument or do it live. A checkerboard
grid pattern is required, the size can be configured in the json file.
Note: best calibration is not too close or far from the cameras, the board must
be fully visible in each camera and move to cover as much of the visual field
as possible.
In the terminal it prints RMS error values for the stereo calibration that need
to be around 0.3 or less ideally.
### Visualisation
The default visualisation is a 3D point cloud. however you can request a
display of the depth map, disparity map or original images.
*
`--display/depth=true`
*
`--display/disparity=true`
*
`--display/points=false`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment