Commit Graph

906 Commits

Author SHA1 Message Date
iabdalkader
e81f228796 Add simple edge function. 2016-09-14 20:54:53 +02:00
iabdalkader
51f1605aee More fixes to Canny edge.
* Clear output border
2016-09-13 17:53:53 +02:00
iabdalkader
0be9e958a1 Small fix to Canny.
* Threshold gradients before nonmaximal suppression.
2016-09-13 13:15:01 +02:00
iabdalkader
e104be63df Implement Canny edge detector. 2016-09-13 02:37:43 +02:00
iabdalkader
49124b4e8c Add py_helper_lookup_int_array. 2016-09-13 01:59:32 +02:00
iabdalkader
83451de050 Add Hough Transform. 2016-09-12 22:16:58 +02:00
iabdalkader
217b3a8dd4 Rename FFT sin/cos table to avoid conflict with generic tables. 2016-09-11 17:05:35 +02:00
iabdalkader
f5e1028786 Add sin/cos tables. 2016-09-11 17:01:53 +02:00
iabdalkader
f908da8d5a Make FFT sin/cos tables static. 2016-09-11 16:59:42 +02:00
iabdalkader
627d81f569 Add imlib mask_ellipse. 2016-09-08 03:12:14 +02:00
iabdalkader
9153325c06 Fix LBP for face recognition.
* Rollback to 7x7 windows.
* Use chi square for distance with weights optimized for facerec.
2016-09-08 01:29:17 +02:00
iabdalkader
8cdf53d3fb Return arg image in histeq. 2016-09-04 21:33:41 +02:00
iabdalkader
21920eaa06 Bump firmware version. 2016-08-31 02:45:06 +02:00
iabdalkader
0653f49bde Set max FPS reduction to 1/2 FPS (30FPS).
* A compromise between FPS reduction and noise level (in night mode).
2016-08-31 01:41:34 +02:00
iabdalkader
bdafca5a78 Set default gain ceiling to 8x 2016-08-31 01:37:43 +02:00
iabdalkader
2fa4a67a96 Cleanup debug log. 2016-08-30 22:46:08 +02:00
iabdalkader
bb93be6da0 Use debug_printf in winc module. 2016-08-30 22:43:35 +02:00
iabdalkader
2877225003 Remove mdefs.h 2016-08-30 22:43:06 +02:00
iabdalkader
faf79007c9 Add DEBUG_PRINTF flag 2016-08-30 22:37:22 +02:00
iabdalkader
b665c65ed6 Rename mdefs.h to common.h 2016-08-30 22:37:04 +02:00
iabdalkader
f200f2e0b8 Set WINC SPI baudrate. 2016-08-30 01:09:49 +02:00
iabdalkader
f4907e6603 Up WINC SPI speed 2016-08-30 01:02:26 +02:00
iabdalkader
ed9133e447 Cleanup sockets error handling. 2016-08-30 00:55:51 +02:00
iabdalkader
60714b339c Clean up async request code. 2016-08-29 21:49:16 +02:00
iabdalkader
8541c3c2ca Fix WINC accept info. 2016-08-28 18:22:05 +02:00
iabdalkader
5d92001f75 Cleanup WINC line endings. 2016-08-28 17:52:07 +02:00
iabdalkader
813a2e6e6a Fix WINC socket_send.
* Check sent bytes returned from async request.
2016-08-28 17:51:42 +02:00
iabdalkader
014847da5d Bump firmware version. 2016-08-25 19:26:20 +02:00
iabdalkader
fa65054815 Update firmware version. 2016-08-25 19:08:41 +02:00
iabdalkader
3cde9f9260 Revert to old FS caching. 2016-08-24 22:31:46 +02:00
iabdalkader
4b07286284 Update colorbars test.
* Invert colorbars for OV7725.
* Increase colorbars thresholds.
2016-08-23 22:37:47 +02:00
iabdalkader
2ad2418d61 Enable DSP colorbar for OV7725.
* Enabling DSP colorbar outputs solid colorbars without an image,
  which makes the colorbars test run better.
2016-08-23 22:30:18 +02:00
iabdalkader
e88c344028 Use the same serial number used in bootloader. 2016-08-22 23:03:58 +02:00
iabdalkader
d93661aa03 Set heap back to 54K. 2016-08-22 23:03:42 +02:00
iabdalkader
2a6e30de98 Reuse SPI handle for WINC. 2016-08-22 23:03:24 +02:00
iabdalkader
5238d55042 Use JPEG_SUBSAMPLE_1x1 for 60 quality. 2016-08-22 21:16:28 +02:00
iabdalkader
ebf9a93294 Increase OMV2 FB_ALLOC and JPEG buffer size. 2016-08-22 21:15:44 +02:00
iabdalkader
fd46db4143 Use new FS block caching. 2016-08-22 21:15:13 +02:00
iabdalkader
0e60cb39ec Reduce AGC/AEC Fast Mode Operating Region.
* Increasing VPT causes more motion blur.
2016-08-22 21:04:37 +02:00
iabdalkader
a998acbe22 Return 0 if FB is not ready.
* Fix bug introduced in last commit.
2016-08-21 03:01:21 +02:00
iabdalkader
5b8de6f867 Clean USBDBG_FRAME_SIZE code. 2016-08-19 19:17:22 +02:00
iabdalkader
1142940b88 Add MLX qstrs. 2016-08-19 19:09:47 +02:00
iabdalkader
a6953e8757 Invalidate frame after IDE reads it. 2016-08-19 19:09:17 +02:00
iabdalkader
958c5b7f78 Use keyword args for MLX refresh rate and adc resolution.
* Issue #148 PR #149
2016-08-19 13:23:47 +02:00
William Minarik
18975dfb85 changes fir_init() to take specified refresh rate and ADC resolution 2016-08-18 14:36:05 -04:00
iabdalkader
4cd4b1f902 Optimize haar
* Skip homogeneous regions based on STD.
2016-08-18 00:29:45 +02:00
iabdalkader
b655a54885 Remove frame size assertion in snapshot()
* Frame gets automatically cropped if it's bigger than the max raw frame.
2016-08-18 00:26:01 +02:00
iabdalkader
c6181cc7f5 Increase AEC/AGC operating region. 2016-08-17 21:19:07 +02:00
iabdalkader
56438bc079 Add cpufreq module.
* Add CPU frequency scaling module and example script.
2016-08-17 19:42:05 +02:00
iabdalkader
7a7fcf73e7 Add OMV_XCLK_SOURCE to board config
* Use MCO output to drive sensor clock on OMV2
2016-08-17 19:40:29 +02:00