nxwhite-str
b53e9cf010
Add detection threshold adjustment to object detection python interface ( #140 )
...
* Add cmake option to use external libjpeg on Mac OS
* Add adjust_threshold to python object detector
* Add cmake option to use external libjpeg on Mac OS
* Add adjust_threshold to python object detector
* Revert "Add cmake option to use external libjpeg on Mac OS"
This reverts commit 01f7fd13ea
.
* Update detector example to set adjust_threshold
2016-06-22 21:17:16 -04:00
Davis King
32d6211052
Made imglab assign a random color to boxes with labels.
2016-06-10 20:52:10 -04:00
Davis King
738b4d36af
Made imglab show the name of the current image in the title bar.
2016-05-31 06:45:02 -04:00
Davis King
58496f9f8a
Added Johannes Huber's natvis file for visual studio.
2016-05-20 08:29:39 -04:00
Davis King
bf7fdb6394
merged
2016-03-30 06:44:25 -04:00
Evgeniy Fominov
2e002ac2da
Python/Simple object detector trainer. Added upsample_limit option
2016-03-30 10:37:03 +03:00
Davis King
f169133b6c
Made imglab look for gif files when scanning folders for images.
2016-02-13 05:26:56 -05:00
Davis King
6b064d3584
Made the python __version__ field come from the DLIB_VERSION macro set by
...
CMake.
2016-02-03 08:32:59 -05:00
Davis King
fcf80e1dd0
merged
2016-02-03 08:24:37 -05:00
Davis King
96e9129105
Made the python build get a DLIB_VERSION macro defined. Also cleaned up cmake
...
a little bit.
2016-02-03 08:24:11 -05:00
Patrick Snape
86e93291a0
Add __version__ to dlib module
...
Only issue is that the strong is hardcoded - otherwise
this is actually technically required by PEP 396
2016-02-03 10:59:04 +00:00
Patrick Snape
d7cac78757
Allow serilization and printing of shape_predictor_training_options
...
Add a simple print and serialization scheme for
shape_predictor_training_options. This enables you to serialize
your training options.
2016-02-03 10:58:21 +00:00
Patrick Snape
ad882c4a31
Propagate equality operators through to Python
...
Easy change to allow comparisons on the Python side for
both rectangle and drectangle
2016-02-03 10:57:39 +00:00
Davis King
fbd1178047
Made the python modules use SSE4 instructions by default.
2015-09-28 21:47:44 -04:00
Davis King
ecdfdea677
Fixed build error due to messed up includes.
2015-08-12 20:15:18 -04:00
Davis King
95887df088
Gave imglab the ability to jump to a specific image via a keyboard command.
2015-07-12 13:50:40 -04:00
Davis King
dbc1ea4ddd
Added --rmdupes.
2015-07-05 14:36:39 -04:00
Davis King
11e0382238
Added --rmtrunc, made --rmdiff mark a box as ignored rather than
...
totally removing it, and also made --stats print the number of non-ignored
boxes.
2015-07-04 20:45:07 -04:00
Davis King
d6cd6a2ade
Fixed a bug that crashed imglab when trying to cluster datasets with empty or
...
really small boxes.
2015-07-04 20:28:52 -04:00
Davis King
2651becf91
fixed bad input validation
2015-07-04 09:41:34 -04:00
Davis King
0b8e2a99af
Added the --rotate option to imglab.
2015-07-04 09:37:02 -04:00
Davis King
aa4e230db0
Removed conditional compilation regarding jpeg and png support. It's just
...
always going to be required for imglab.
2015-07-04 09:15:02 -04:00
Davis King
7aed6b3a84
Added the --cluster option to imglab.
2015-07-03 11:58:59 -04:00
Davis King
ad9a9e6efa
A minor optimization
2015-07-02 08:27:51 -04:00
Davis King
a8568a351b
Added the --tile option to imglab.
2015-07-02 08:24:41 -04:00
Davis King
c9c3fa17b5
Made max_cost_assignment() give an error if you incorrectly give it a
...
non-square matrix.
2015-06-18 17:42:43 -04:00
Davis King
5cfff271a1
minor change to avoid compiler warning
2015-05-25 17:32:37 -07:00
Patrick Snape
23343f3de6
Add overlay overload for drectangle
...
This is useful for visualizing the tracking results.
2015-05-20 12:24:42 +01:00
Patrick Snape
60475dda9b
Update docs on corr tracker, return side lobe
...
Added the missing documentation for the correlation tracker.
Didn't realise that the tracker returned the side lobe ratio,
so fixed the API to return it properly.
2015-05-20 11:52:29 +01:00
Patrick Snape
e3c3d39ab1
Add an API for the correlation tracker
...
This aids an API for the correlation based tracker that Davis
recently added to Dlib. I've made sure to allow overrides for
passing normal rectangles rather than drectangles (which isn't
currently supported in the Dlib C++ API). This is mostly
because I imagine people might initialize the tracking using
something like a bounding box from a detector (e.g.
load_frontal_face_detector).
2015-05-20 11:29:14 +01:00
Patrick Snape
c4cf31a746
Preparing for correlation tracker - add drectangle
...
The correlation tracker deals with the drectangle
(double rectangle) class which currently isn't wrapped. Therefore,
I add the drectangle class and refactor rectangles into their
own file. I also added a load of methods on rectangle that might
be useful such as intersection/contains/area etc.
2015-05-20 10:46:01 +01:00
Patrick Snape
8568c262e9
Incorrect IFDEF name for shape predictor
...
The word detector didn't make much sense!
2015-05-20 09:37:33 +01:00
Davis King
805aec8d00
updated README
2015-03-29 16:49:00 -04:00
Davis King
03b6fb0b7e
updated version number and about docs
2015-03-29 16:44:31 -04:00
Davis King
0209f51a39
clarified documentation
2015-03-29 16:35:23 -04:00
Davis King
d1a5815cb9
Added default upsampling amount to detector.run(). Also moved the
...
new example code into face_detector.py and added some comments.
2015-03-28 23:16:54 -04:00
Davis King
216eb3f30f
Merge branch 'py_det_conf_and_idx' of https://github.com/jackculpepper/dlib into jackculpepper-py_det_conf_and_idx
2015-03-28 22:48:19 -04:00
Davis King
2e2a14879b
Renamed the lambda variable since it clashes with a python keyword.
2015-03-25 17:45:12 -04:00
Davis King
e00f6f63ca
Replaced the raw_input() calls with a call into dlib since raw_input() isn't
...
available in python3.
2015-03-22 18:45:08 -04:00
Jack Culpepper
cf0d5a4cb0
simplify
2015-03-12 01:17:40 -07:00
Jack Culpepper
a12e1e71fa
repair old interface
2015-03-12 08:10:56 +00:00
Jack Culpepper
9b78932ab1
re-arrange, use vector<double> to facilitate pass back to python
2015-03-12 07:39:42 +00:00
Jack Culpepper
154f9e4931
add ability to return detection confidences and weight index to python
2015-03-11 23:23:19 -07:00
Davis King
4bbfe512ae
Made the PYTHON3 cmake switch a proper cmake option.
2015-03-07 13:29:23 -05:00
Davis King
c335bf6756
Fixed the python doc string so that it's correct relative to the python
...
API. Also made find_candidate_object_locations() correctly include any
input boxes in the call to the C++ version of the function.
2015-01-03 23:26:28 -05:00
Vinh Khuc
173bb97f33
Explained the difference between pykvals in the Python API and kvals in C++ code
2015-01-03 15:03:05 -05:00
Vinh Khuc
bf06ce7185
Added Python-binding for find_candidate_object_locations
2015-01-03 01:11:52 -05:00
Davis King
1ab3482597
Clarified a few comments and simplified the serialization code a bit.
...
Also just cleaned up a few minor details.
2014-12-27 15:30:56 -05:00
Patrick Snape
37af35b55e
Re-add the cached object detector
...
A little bit hacky, but should be fine. Supports both fhog
detectors and the "cached" simple_object_detector. Also, maintains
the upscale parameter for testing
2014-12-12 16:22:57 +00:00
Patrick Snape
30869fbe03
Change logic for upsampling printing
2014-12-11 15:00:39 +00:00