source: general/graphlib/opencv.xml@ 6d1176f5

10.0 10.1 11.0 8.4 9.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 6d1176f5 was 6d1176f5, checked in by Douglas R. Reno <renodr@…>, 3 years ago

OpenCV: Typo

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21261 af4574ff-66df-0310-9fd7-8a98e5e911e0

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