"examples/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "6f93c6aa743187dd618b547307ec660136a8795b"
dlib.cpp 1.24 KB
Newer Older
1
// Copyright (C) 2015 Davis E. King (davis@dlib.net)
2
// License: Boost Software License   See LICENSE.txt for the full license.
3

Davis King's avatar
Davis King committed
4
#include <boost/python.hpp>
5
6
7
8

void bind_matrix();
void bind_vector();
void bind_svm_c_trainer();
9
void bind_decision_functions();
Davis King's avatar
Davis King committed
10
11
void bind_basic_types();
void bind_other();
12
void bind_svm_rank_trainer();
Davis King's avatar
Davis King committed
13
void bind_cca();
14
void bind_sequence_segmenter();
15
void bind_svm_struct();
16
void bind_image_classes();
17
void bind_rectangles();
18
void bind_object_detection();
19
void bind_shape_predictors();
20
void bind_correlation_tracker();
21
22

#ifndef DLIB_NO_GUI_SUPPORT
Patrick Snape's avatar
Patrick Snape committed
23
void bind_gui();
24
#endif
25
26
27

BOOST_PYTHON_MODULE(dlib)
{
Davis King's avatar
Davis King committed
28
29
30
31
    // Disable printing of the C++ function signature in the python __doc__ string
    // since it is full of huge amounts of template clutter.
    boost::python::docstring_options options(true,true,false);

32
33
34
    bind_matrix();
    bind_vector();
    bind_svm_c_trainer();
35
    bind_decision_functions();
Davis King's avatar
Davis King committed
36
37
    bind_basic_types();
    bind_other();
38
    bind_svm_rank_trainer();
Davis King's avatar
Davis King committed
39
    bind_cca();
40
    bind_sequence_segmenter();
41
    bind_svm_struct();
42
    bind_image_classes();
43
    bind_rectangles();
44
    bind_object_detection();
45
    bind_shape_predictors();
46
    bind_correlation_tracker();
47
#ifndef DLIB_NO_GUI_SUPPORT
Patrick Snape's avatar
Patrick Snape committed
48
    bind_gui();
49
#endif
50
}
Davis King's avatar
Davis King committed
51