OS Manuals

/usr/bin/opencv_annotation

Open source computer vision and machine learning library

From opencv 5.1.0-r0 (enterprise-packages), captured 2026-11-08 by running opencv_annotation --help (exit 0). permalink

hwloc/linux: failed to find sysfs cpu topology directory, aborting linux discovery.
Usage: opencv_annotation [params]

	-?, -h, --help, --usage (value:true)
		show this message
	-a, --annotations
		(required) path to annotations txt file [example - /data/annotations.txt]
	-i, --images
		(required) path to image folder [example - /data/testimages/]
	-m, --maxWindowHeight (value:-1)
		(optional) images larger in height than this value will be scaled down
	-r, --resizeFactor (value:2)
		(optional) factor for scaling down [default = half the size]

TIP: Use absolute paths to avoid any problems with the software!
Options (5)
OptionDescriptionSource
-?, -h, --help, --usage (value:true)show this messagehelp
-a, --annotations(required) path to annotations txt file [example - /data/annotations.txt]help
-i, --images(required) path to image folder [example - /data/testimages/]help
-m, --maxWindowHeight (value:-1)(optional) images larger in height than this value will be scaled downhelp
-r, --resizeFactor (value:2)(optional) factor for scaling down [default = half the size]help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.