Branko Kokanovic
41a87e5926
Exposing chinese_whispers directly, closes #1642 ( #1644 )
...
* Exposing chinese_whispers directly
* Addressing comments
* Changed description
* Added support for distance weights
* Added tests
* Improving test to check returned results
2019-02-07 06:59:04 -08:00
Davis King
1f727f930b
Fixed broken unit test.
2018-05-19 14:14:43 -04:00
Davis King
7e7d8e9071
Added python interface to threshold_image() and partition_pixels().
2018-05-19 13:12:47 -04:00
visionworkz
e8faced822
Add basic image io and remove python C-API refs from numpy_returns.cpp ( #1258 )
...
* Fixed reference count issue
* Fixed refcount issue in Python dlib.jitter_image and dlib.get_face_chips
* Consolidation of https://github.com/davisking/dlib/pull/1249
* Fixed build issue
* Fixed: Paths in a pytest file should be relative to dlib root
* Skip numpy return tests for Python 2.7 or if Numpy is not installed
* Enabled numpy returns tests on Python 2.7 using cPickle.dumps
2018-04-17 22:49:25 -04:00
Davis King
60a4af67e8
Added more unit tests
2018-03-17 17:10:44 -04:00
Davis King
a37c5e7c2b
Add the example program contents as a test as well.
2018-02-19 13:31:07 -05:00
Morten Hustveit
9691c194c0
Added support for variadic Python functions in find_max_global. ( #1141 )
...
* Added support for variadic Python functions in find_max_global.
* Add test for find_{min,max}_global on variadic functions.
2018-02-19 13:26:45 -05:00
ksemb
14cbb804a9
Add Python rvm_trainer and init functions ( #1100 )
2018-02-02 06:14:03 -05:00
Davis King
2a2bc9cef1
Different versions of python disagree on what exception gets thrown. So just
...
check for any exception.
2018-01-16 21:26:56 -05:00
Davis King
99b0f687b4
Fixed test to really work if numpy isn't installed.
2018-01-16 21:00:54 -05:00
Davis King
a9ca83d228
Disable these tests if numpy isn't installed
2018-01-16 20:14:37 -05:00
Davis King
1e051f1a60
Made test work in python3
2018-01-15 22:29:37 -05:00
Mischan Toosarani-Hausberger
077a3b60e7
Replace boost::python with pybind11 ( #1040 )
...
* Replace boost::python with pybind11
* Replace add_python_module with pybind11_add_module
* Fix clang error on type-dependent expression
2018-01-15 14:41:40 -05:00