boltgolt
0db3cb3da2
Merge branch 'master' of https://github.com/dmig/howdy into dmig-master
2018-12-21 16:51:23 +01: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
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
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
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
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
dmig
59e622c17d
minor code readability changes
2018-11-18 13:56:52 +07:00
dmig
b8aa070600
remove unused imports
2018-11-18 13:55:58 +07:00
dmig
964e96377c
use ConfigParser.get*() functions; move function definition out of main cycle; drop unused import; show recognition time
2018-11-18 13:49:16 +07:00
dmig
fa51ff7c10
use ConfigParser.get*() functions; drop unused import
2018-11-18 13:48:02 +07:00
dmig
56cf32388a
use ConfigParser.get*() function
2018-11-18 13:46:20 +07:00
dmig
5b6ca8525c
use ConfigParser.get*() functions; move config reading out of maincycle; drop unused import
2018-11-18 13:45:13 +07:00
boltgolt
1c544f0233
Changed device_id to device_path
2018-11-09 19:39:16 +01:00
boltgolt
517948d07a
Changes to compare and cli config command, proposed in #89 and #90
2018-11-09 11:49:03 +01:00
boltgolt
8180dafdaf
Fixed issue where remote sessions could be authenticated through howdy
2018-09-24 18:05:15 +02:00
Nathan Janeczko
9ac6488834
use variables from config.ini frame_height frame_width for camera resolution
2018-07-10 16:36:47 +02:00
boltgolt
5751650af3
Added config option to set height and width of frame from #40
2018-06-28 14:36:47 +02:00
boltgolt
38eff8149d
Changed cofig editor to system default ( #41 ), used more readable code for user detection ( #46 )
2018-06-28 14:18:27 +02:00
boltgolt
440cec8944
Updated to reflect username change
2018-06-12 15:54:13 +02:00