The RooSight CLT offers a command-line interface for interacting with the RooSight library.
- Download the latest RooSightCLT build
- Install OpenCV
- On Windows, go to the OpenCV website, download the packed release compatible with your downloaded version of RooSight, and extract it to
C:\Users\[username]\Downloads
- On macOS, install Homebrew, run
brew tap Roobotics-FRC/RooBrew
, and then install OpenCV usingbrew install opencv3classic --with-java
- On Windows, go to the OpenCV website, download the packed release compatible with your downloaded version of RooSight, and extract it to
- Run RooSightCLT with
java -jar [path/to/RooSightCLT-version.jar] [args]
usage: roosight
-amax,--max-area <arg> takes the max area of the target
area
-amin,--min-area <arg> takes the min area of the target
area
-b,--blur <arg> takes the desired blur amount
from 0 to 1
-c,--color <arg> takes the desired color of the
drawn contours
-hmax,--max-height <arg> takes the max height of the
target area
-hmin,--min-height <arg> takes the min height of the
target area
-hsl,--hue-saturation-luminance <arg> takes comma separated min/max
values in the form
hmin,hmax,smin,smax,lmin,lmax
-hsv,--hue-saturation-value <arg> takes comma separated min/max
values in the form
hmin,hmax,smin,smax,vmin,vmax
-i,--input <arg> takes the path to the image to be
filtered
-o,--output <arg> takes the desired output file
location
-rgb,--red-green-blue <arg> takes comma separated min/max
values in the form
rmin,rmax,gmin,gmax,bmin,bmax
-s,--save-config <arg> enables the saving of the
serialized RooConfig options to a
.viz file at the specified
location
-wmax,--max-width <arg> takes the max width of the target
area
-wmin,--min-width <arg> takes the min width of the target
area
RooSightCLT is the basis of RooSightGUI, which offers a graphical interface for interacting with the command-line tool.