Tim Welch
6a73634ac2
Adding support for v4l2 devices directly in python
...
v4l2l.py is included in src dir. The version you get from pip install does not work with python3 (at least not on my system), so I had to modify a bunch of the functions returning a list() of range() instead of the original range().
2018-12-23 12:08:18 -05:00
boltgolt
54998e9a97
Merge branch 'dmig-master' into dev
2018-12-21 16:52:13 +01:00
boltgolt
0db3cb3da2
Merge branch 'master' of https://github.com/dmig/howdy into dmig-master
2018-12-21 16:51:23 +01:00
Dmitriy Geels
b2f30d13c3
Merge branch 'master' into master
2018-12-21 17:10:14 +03:00
boltgolt
f4db5ee94b
Formatting fixes
2018-12-13 20:53:18 +01:00
boltgolt
f8cfde6f72
Fixed a few small things from PR #109
2018-12-13 20:10:08 +01:00
boltgolt
faa3e28563
Merge pull request #109 from timwelch/dev
...
Initial FFMPEG support for HP Spectre x360 13t IR camera
2018-12-13 18:58:31 +01:00
dmig
a8d68d945b
no changes, comment
2018-12-12 16:43:27 +07:00
dmig
443c5e7063
proper library load timing; add total time reporting
2018-12-12 16:30:52 +07:00
dmig
cc1b9785a8
replace threading module with low-level _thread; leave only one initialization helper thread
2018-12-12 15:04:11 +07:00
dmig
5fcb7383ca
reorder lines for readability
2018-12-12 15:00:59 +07:00
dmig
01c6364e65
simplify argument check; comments typos
2018-12-12 14:58:03 +07:00
dmig
7aac419bd7
importing all modules at the beginning is ~40% faster
2018-12-12 14:45:23 +07:00
Tim Welch
39daaa272b
pretty up the code a bit for ffmpeg resolution detection
2018-12-11 20:53:42 -05:00
Tim Welch
546015d973
using ffmpeg to grab resolution to save 700ms on startup
2018-12-11 19:00:55 -05:00
dmig
4f11da686f
one more detector init thread
2018-12-12 00:15:35 +07:00
dmig
62aabdf480
initialize recognizers in threads instead of camera init
2018-12-12 00:08:13 +07:00
dmig
f4d231cca8
proper cam init time measuring
2018-12-11 23:44:30 +07:00
dmig
c90d977352
fix broken previous commit
2018-12-11 16:40:06 +07:00
dmig
bedfa8020c
more informative debug
2018-12-11 16:30:45 +07:00
dmig
02a9aee63a
convert timings from list to dict; move camera initialization to separate thread
2018-12-11 16:24:35 +07:00
Tim Welch
693eef964a
Initial ffmpeg support
...
Cleaned up unused imports and hard coded width/height values.
2018-12-09 12:12:50 -05:00
Tim Welch
2013338155
Add initial support for ffmpeg
...
Fixes HP Spectre x360 13t IR camera issue. The IR camera is detected by OpenCV but fails to work properly. FFMPEG works using /dev/video2 device. Added an ffmpeg class that mimics the behavior
and currently used functions of opencv.
2018-12-09 12:06:31 -05:00
boltgolt
1f0ed1267a
The dyslexia fix
2018-12-09 12:47:29 +01:00
dmig
d1d4d0af23
remove last face_recognition references
2018-12-09 14:28:16 +07:00
dmig
2c48350b23
replace face_recognition with dlib+numpy; add video_capture.release(); minor code cleanup
2018-12-09 14:27:21 +07:00
dmig
8671be425d
use defaults for config values; simplify path detection
2018-12-09 14:24:50 +07:00
dmig
b465982092
dark frame detection
2018-12-09 14:22:55 +07:00
dmig
377241bd2e
don't frighten user with slowdown message, it's not so significant; notify user about max name length
2018-12-09 13:50:35 +07:00
dmig
ff02a723d4
replace most subprocess calls with native calls; download and install dlib from tarball instead of making git clone; configure dlib according to cpu flags; do not install opencv using pip; set use_cnn option automatically; minor code cleanup
2018-12-09 13:30:37 +07:00
dmig
9c2507ed13
replace subprocess calls with native calls
2018-12-09 13:25:02 +07:00
dmig
82e4e9e10f
replace git dependency with wget|curl; fix opencv dependency; add recommended and suggested packages
2018-12-09 13:23:55 +07:00
dmig
1b8a7dc449
replace face_recognition with dlib+numpy; support for cnn detector; calculate scaling_factor outside of main cycle; use grayscale image for darkframe and face detection; fix winning model index detection; some minor code cleanups
2018-12-09 13:21:44 +07:00
dmig
c8c481aed2
use PATH constant
2018-12-09 13:15:31 +07:00
dmig
01e706fce6
speedup startup a bit
2018-12-09 13:12:28 +07:00
dmig
29c3a31a5b
fix models loading problem
2018-12-09 13:11:08 +07:00
dmig
31dab29aa7
use default values when reading from config
2018-12-09 12:28:45 +07:00
dmig
0c384baef2
speedup and improve face recognition; stable slow mode fps
2018-12-08 13:53:30 +07:00
dmig
d9e72c74dc
directory and instructions for dlib data files
2018-12-08 13:18:05 +07:00
dmig
d7bc38ea16
get rid of face_recognition module, support CNN
2018-12-07 14:28:07 +07:00
dmig
683837df91
new option for CNN
2018-12-07 14:26:01 +07:00
boltgolt
359720e566
Switched to pam-auth-update for debian installs as per #107
2018-12-05 12:23:07 +01:00
boltgolt
b7a084339f
Merge pull request #103 from luyatshimbalanga/master
...
Add Fedora installation instructions
2018-11-30 18:11:58 +01:00
Luya Tshimbalanga
9ca5be97fb
Add Fedora
2018-11-28 18:18:12 -08:00
boltgolt
2318034610
Added more in-depth test
2018-11-21 11:58:29 +01:00
dmig
bd02f998f2
remove last config access from main cycle
2018-11-21 11:32:28 +07:00
boltgolt
873211da4c
Reverting compare.py and adding new tests
2018-11-19 18:36:35 +01:00
boltgolt
dee2c98a99
Minor rollback for readability
2018-11-19 11:59:50 +01:00
boltgolt
23088907ad
Merge pull request #98 from dmig/master
...
code quality update
2018-11-19 10:55:11 +01:00
dmig
59e622c17d
minor code readability changes
2018-11-18 13:56:52 +07:00