Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
> cv-cat --file 20180101T000000.jpg \
    | cv-calc draw --rectangles=<( echo "800,500,1600,1700" )";fields=min/x,min/y,max/x,max/y;color/r=255;weight=3" \
                   --circles=<( echo "2800,1225,300" )";fields=centre/x,centre/y,radius;color/b=255;weight=3" \
                   --labels=<( echo "1,1200,1100,cat01"; echo "0,2800,1225,cat02" )";fields=index,position/x,position/y,text;color/g=255;weight=2" \
    | cv-cat "encode=jpg" --output no-header
    > drawn.jpg;

> eog drawn.jpg