source: general/graphlib/opencv.xml@ 45ab6c7

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 8.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY opencv-download-http "https://github.com/opencv/opencv/archive/&opencv-version;/opencv-&opencv-version;.tar.gz">
8 <!ENTITY opencv-download-ftp " ">
9 <!ENTITY opencv-md5sum "2205d3169238ec1f184438a96de68513">
10 <!ENTITY opencv-size "84 MB">
11 <!ENTITY opencv-buildsize "706 MB">
12 <!ENTITY opencv-time "2.9 SBU (using parallelism=4)">
13
14
15 <!ENTITY opencv-contrib-download "https://github.com/opencv/opencv_contrib/archive/&opencv-version;/opencv_contrib-&opencv-contrib-version;.tar.gz">
16]>
17
18<sect1 id="opencv" xreflabel="opencv-&opencv-version;">
19 <?dbhtml filename="opencv.html"?>
20
21 <sect1info>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>opencv-&opencv-version;</title>
26
27 <indexterm zone="opencv">
28 <primary sortas="a-opencv">opencv</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to opencv</title>
33
34 <para>
35 The <application>opencv</application> package contains graphics libraries
36 mainly aimed at real-time computer vision.
37 </para>
38
39 &lfs101_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&opencv-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&opencv-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &opencv-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &opencv-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &opencv-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &opencv-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77<!-- <listitem>
78 <para>
79 Optional file (x86_64 only; will be downloaded when running cmake if not present):
80 <ulink
81 url="https://raw.githubusercontent.com/opencv/opencv_3rdparty/&ippicv_binaries_commit;/ippicv/&ippicv-version;.tgz"/>
82 </para>
83 </listitem>-->
84 <listitem>
85 <para>
86 Optional additional modules: <ulink
87 url="&opencv-contrib-download;"/>
88 </para>
89 </listitem>
90 </itemizedlist>
91
92 <note>
93 <para>
94 One additional file that starts with "ippicv" (integrated
95 performance primitives) will be automatically downloaded during the
96 cmake portion of the build procedure. This download is specific to the
97 system architecture.
98 </para>
99 </note>
100
101 <bridgehead renderas="sect3">opencv Dependencies</bridgehead>
102
103 <bridgehead renderas="sect4">Required</bridgehead>
104 <para role="required">
105 <xref linkend="cmake"/> and
106 <xref linkend="unzip"/>
107 </para>
108
109 <bridgehead renderas="sect4">Recommended</bridgehead>
110 <para role="recommended">
111 <xref linkend="ffmpeg"/>,
112 <xref linkend="gst10-plugins-base"/>,
113 <xref linkend="gtk3"/>,
114 <xref linkend="jasper"/>,
115 <xref linkend="libjpeg"/>,
116 <xref linkend="libpng"/>,
117 <xref linkend="libtiff"/>,
118 <xref linkend="libwebp"/>,
119 <xref linkend="v4l-utils"/>, and
120 <xref linkend="xine-lib"/>
121 </para>
122
123 <bridgehead renderas="sect4">Optional</bridgehead>
124 <para role="optional">
125 <xref linkend="apache-ant"/>,
126 <xref linkend="doxygen"/>,
127 <xref linkend="java"/>,
128 <xref linkend="python2"/>,
129 <ulink url="https://developer.nvidia.com/cuda-zone">Cuda</ulink>,
130 <ulink url="http://eigen.tuxfamily.org/">Eigen</ulink>,
131 <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
132 <ulink url="http://gcd.joewheaton.org/">GCD</ulink>,
133 <ulink url="http://www.gdal.org/">GDAL</ulink>,
134 <ulink url="https://www.jai.com/technology/interfaces">GigEVisionSDK</ulink>,
135 <ulink url="http://jackaudio.org/">JACK</ulink>,
136 <ulink url="https://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
137 <ulink url="http://www.gphoto.org/">libgphoto2</ulink>,
138 <ulink url="http://www.numpy.org/">NumPy</ulink>,
139 <ulink url="http://structure.io/openni">OpenNI</ulink>,
140 <ulink url="http://plantuml.sourceforge.net/">PlanetUML</ulink>,
141 <ulink url="https://www.alliedvision.com/en/support/software-downloads.html">PvAPI</ulink>,
142 <ulink url="https://github.com/oneapi-src/oneTBB">Threading Building Blocks (TBB)</ulink>,
143 <ulink url="http://unicap-imaging.org/">UniCap</ulink>,
144 <ulink url="http://www.vtk.org/">VTK - The Visualization Toolkit</ulink>, and
145 <ulink url="http://www.ximea.com/">XIMEA</ulink>
146 </para>
147
148 <para condition="html" role="usernotes">
149 User Notes: <ulink url="&blfs-wiki;/opencv"/>
150 </para>
151 </sect2>
152
153 <sect2 role="installation">
154 <title>Installation of opencv</title>
155
156 <para>
157 If needed, unpack the additional modules package:
158 </para>
159
160<screen><userinput>tar xf ../opencv_contrib-&opencv-contrib-version;.tar.gz</userinput></screen>
161
162 <para>
163 Install <application>opencv</application> by running the following
164 commands:
165 </para>
166
167<screen><userinput>mkdir build &amp;&amp;
168cd build &amp;&amp;
169
170cmake -DCMAKE_INSTALL_PREFIX=/usr \
171 -DCMAKE_BUILD_TYPE=Release \
172 -DENABLE_CXX11=ON \
173 -DBUILD_PERF_TESTS=OFF \
174 -DWITH_XINE=ON \
175 -DBUILD_TESTS=OFF \
176 -DENABLE_PRECOMPILED_HEADERS=OFF \
177 -DCMAKE_SKIP_RPATH=ON \
178 -DBUILD_WITH_DEBUG_INFO=OFF \
179 -Wno-dev .. &amp;&amp;
180make</userinput></screen>
181
182 <para>
183 The package does not come with an operable test suite.
184 </para>
185
186 <para>
187 Now, as the <systemitem class="username">root</systemitem> user:
188 </para>
189
190<screen role="root"><userinput>make install</userinput></screen>
191
192 </sect2>
193
194 <sect2 role="commands">
195 <title>Command Explanations</title>
196
197 <para>
198 <parameter>-DWITH_XINE=ON</parameter>: This option instructs the make
199 procedure to use <xref linkend="xine-lib"/>.
200 </para>
201
202 <para>
203 <parameter>-DENABLE_PRECOMPILED_HEADERS=OFF</parameter>: This option
204 is needed for compatibiiity with gcc-6.1 and later.
205 </para>
206
207 <para>
208 <option>-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-&opencv-version;/modules</option>:
209 instructs the build system to build additional modules.
210 </para>
211
212 </sect2>
213
214 <sect2 role="content">
215 <title>Contents</title>
216
217 <segmentedlist>
218 <segtitle>Installed Programs</segtitle>
219 <segtitle>Installed Libraries</segtitle>
220 <segtitle>Installed Directories</segtitle>
221
222 <seglistitem>
223 <seg>
224 opencv_annotation,
225 opencv_interactive-calibration,
226 opencv_version,
227 opencv_visualisation, and
228 setup_vars_opencv4.sh
229 </seg>
230 <seg>
231 libopencv_calib3d.so,
232 libopencv_core.so,
233 libopencv_dnn.so,
234 libopencv_features2d.so,
235 libopencv_flann.so,
236 libopencv_gapi.so,
237 libopencv_highgui.so,
238 libopencv_imgcodecs.so,
239 libopencv_imgproc.so,
240 libopencv_ml.so,
241 libopencv_objdetect.so,
242 libopencv_photo.so,
243 libopencv_stitching.so,
244 libopencv_video.so, and
245 libopencv_videoio.so
246 </seg>
247 <seg>
248 /usr/include/opencv4
249 /usr/lib/cmake/opencv4,
250 /usr/share/opencv4, and
251 /usr/share/java/opencv4
252 </seg>
253 </seglistitem>
254 </segmentedlist>
255<!--
256 <variablelist>
257 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
258 <?dbfo list-presentation="list"?>
259 <?dbhtml list-presentation="table"?>
260
261 <varlistentry id="opencv_annotation">
262 <term><command>opencv_annotation</command></term>
263 <listitem>
264 <para>
265 ???
266 </para>
267 <indexterm zone="opencv opencv_annotation">
268 <primary sortas="b-opencv">opencv_annotation</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 </variablelist>
274-->
275 </sect2>
276
277</sect1>
Note: See TracBrowser for help on using the repository browser.