Commit Graph

7 Commits

Author SHA1 Message Date
Davis King ec83abf619 Removed notes about using --yes USE_AVX_INSTRUCTIONS when building python
interface since AVX availability is now detected automatically by cmake.
2018-05-22 07:01:09 -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 c1b1ac955a Removed references to boost.python since it's no longer needed. 2018-01-22 19:23:01 -05:00
visionworkz ac292309c1 Exposed jitter_image in Python and added an example (#980)
* Exposed jitter_image in Python and added an example

* Return Numpy array directly

* Require numpy during setup

* Added install of Numpy before builds

* Changed pip install for user only due to security issues.

* Removed malloc

* Made presence of Numpy during compile optional.

* Conflict

* Refactored get_face_chip/get_face_chips to use Numpy as well.
2017-12-08 09:59:27 -05:00
Davis King 67e6957b1e Clarified comment and updated requirements.txt 2017-09-22 21:52:15 -04:00
Varun Chatterji 7e94daad4d Cleaned up example file. 2017-09-19 23:08:54 +08:00
Varun Chatterji 5f26972551 Added code to get face_chip images.. 2017-09-19 13:08:51 +08:00