Commit Graph

723 Commits

Author SHA1 Message Date
iabdalkader
7f76f68d82 Fix quantization tables initialization. 2016-02-05 23:55:52 +02:00
iabdalkader
5721ab40da Adjust stack and heap sizes 2016-02-05 23:55:30 +02:00
iabdalkader
a231b17055 JPEG-compress the frame buffer to lower bandwidth. 2016-02-05 02:42:03 +02:00
iabdalkader
ab833d4302 Set all sensors XCLK to 12MHz 2016-02-05 02:41:03 +02:00
iabdalkader
ec1de1c2eb Replace sensor struct clock polarities with flags. 2016-02-05 02:38:07 +02:00
iabdalkader
e0c5822c28 Raise exception if pixel format is not supported. 2016-02-05 02:15:22 +02:00
iabdalkader
8e60588455 Support in place JPEG compression.
* Modify the JPEG compressor to allow in place compression.
2016-02-04 21:56:48 +02:00
iabdalkader
e9147d4594 Remove extra byte in JPEG image size. 2016-02-04 07:04:20 +02:00
iabdalkader
7fff1dc12b Add Grayscale Support to the JPEG compressor. 2016-02-04 07:03:49 +02:00
iabdalkader
bab1ec7dbf Mirror image when colorbar is enabled.
* This allows the OV7725 to pass self-tests without changes.
2016-02-04 00:38:30 +02:00
iabdalkader
3627778d80 Increase heap to 0xCB00 2016-02-04 00:19:04 +02:00
iabdalkader
562e2ce9ca Add FSIN pin. 2016-02-04 00:07:50 +02:00
iabdalkader
d378a1bbfa Remove unused defines. 2016-02-04 00:03:01 +02:00
iabdalkader
22154c2bad Adjust PLL setting.
* XCLK=12MHz PCLK=48MHz
2016-02-04 00:01:15 +02:00
iabdalkader
fd418576c0 Optimize JPEG library. 2016-02-04 00:00:29 +02:00
iabdalkader
726e3a8e21 Add RGB565 to YUV lookup table 2016-02-03 23:45:20 +02:00
iabdalkader
23fe7b6363 Move framebuffer sync code before snapshot code.
* This forces the IDE to read the image before any drawing, which
  Fixes the double buffering issue.
2016-02-03 02:47:54 +02:00
iabdalkader
38efbd5bbe Add missing register. 2016-02-02 00:43:12 +02:00
iabdalkader
5203fd8434 Pass slave address to SCCB_Read/Write
* Add slave address to sensor struct.
* Pass slave address to every SCCB_Read/Write function.
* Pass a pointer to the sensor struct to sensor functions.
2016-01-28 14:09:12 +02:00
iabdalkader
6752aeacf3 Add support for OV7725 2016-01-28 12:42:17 +02:00
iabdalkader
756c5965d4 Add initial OV7725 driver 2016-01-28 12:40:55 +02:00
iabdalkader
b4aeaa4f16 Add SCCB_Probe function.
* Remove hard-coded SCCB slave address.
* Add probe function to find slave address.
2016-01-28 12:37:29 +02:00
iabdalkader
3bad11fd61 More fixes to MLX driver
* Fix read raw to return rotated ir readings.
* Add refresh rate parameter to mlx_init.
* Rename mlx_read to mlx_read_ir.
* Add mlx_read_ta to return the ambient temperature.
2016-01-25 23:30:17 +02:00
iabdalkader
7358952c14 Misc fixes to the MLX driver 2016-01-25 22:31:57 +02:00
iabdalkader
5677c28b4d Update MLX driver.
* Update MLX driver to support the new MLX90621.
2016-01-24 02:13:31 +02:00
iabdalkader
a846005c16 Add more comments to imlib_threshold 2015-10-04 01:15:30 +02:00
iabdalkader
b55a93069d Remove unused prototype. 2015-10-04 01:09:52 +02:00
iabdalkader
2bda1d13a3 Increase sensor_snapshot timeout 2015-10-04 00:26:46 +02:00
iabdalkader
5a8c7ec311 Add PY_ASSERT_FALSE_MSG to py_assert.h 2015-10-04 00:10:28 +02:00
iabdalkader
5924de6ee3 Increase sensor_snapshot timeout. 2015-09-26 03:25:45 +02:00
iabdalkader
2b9b69bf92 Add OPENMV1 WINC1500 BSP header 2015-09-24 14:29:38 +02:00
iabdalkader
4f392e4639 Rename pincfg.h to stm32f4xx_hal_msp.h 2015-09-24 14:21:39 +02:00
iabdalkader
a1e4f79256 Clean up pincfg.h 2015-09-24 14:15:10 +02:00
iabdalkader
8a28cba8c7 Fix servo timers
* call servo_init in main
* Fix servo timer, number of channels and pin mappings.
2015-09-24 02:04:51 +02:00
iabdalkader
088b39c521 Remove redundant m2m_ota source file 2015-09-23 16:31:47 +02:00
iabdalkader
d11e8f7212 Inline systick_has_passed call in sensor_snapshot 2015-09-23 02:03:26 +02:00
iabdalkader
8fabc9b35a Fix image module globals_dict_table 2015-09-22 02:27:51 +02:00
iabdalkader
e3f41d674e Add sensor_snapshot timeout 2015-09-22 01:34:21 +02:00
iabdalkader
47ae5a7669 Add ATWINC1500 driver 2015-09-15 02:41:36 +02:00
iabdalkader
54c77b2f48 Add systick sleep and current_millis prototypes. 2015-08-20 16:38:07 +02:00
iabdalkader
4491000c44 Remove some old unused files
* omv/systick.h
* omv/stm32f4xx_it.c
2015-08-20 16:29:11 +02:00
iabdalkader
78a6d54c89 Remove old systick.c 2015-08-20 16:26:55 +02:00
iabdalkader
d031ea87f1 Implement set_pixel 2015-08-20 16:25:37 +02:00
iabdalkader
940f3a0d7d Disabled self tests for OMV1
* RGB QVGA doesn't fit in OMV1's RAM, fix the script or write another one.
2015-08-18 23:54:49 +02:00
iabdalkader
d7130234d3 Return script buffer without copying.
* Since IDE interrupts are enabled after compiling the script, we can
just return a pointer to the script buffer without copying it first.
2015-08-17 19:48:45 +02:00
iabdalkader
b33f7b4c29 Add functions to disable/enable IDE interrupts
* This constrains IDE interrupts avoiding the need for critical sections.
2015-08-17 19:48:18 +02:00
iabdalkader
bf9401ee6f Remove unused #define 2015-08-16 01:11:05 +02:00
iabdalkader
20b823333a Free script buffer after copying it. 2015-08-16 00:16:16 +02:00
iabdalkader
02ac02643e Increase QCIF res 2015-08-15 16:54:09 +02:00
iabdalkader
891f6ab96b Move FS cache to main SRAM for OMV2 2015-08-15 16:50:14 +02:00
iabdalkader
9e19e0ffc6 Re-enable TIM3 to flush storage periodically. 2015-08-14 16:02:11 +02:00
iabdalkader
801f74c2da Remove global misc functions
* Remove redundant functions
2015-08-13 23:18:59 +02:00
iabdalkader
7d949694ef Fix main script FS template 2015-08-13 23:15:57 +02:00
iabdalkader
eb29fc8894 Add sanity checks to draw_string 2015-08-13 23:15:35 +02:00
iabdalkader
83c52c020f Fix draw_string to support Grayscale 2015-08-13 23:14:52 +02:00
iabdalkader
533f0e3e8f Re-init MP state and use pyexec_file/str
* Use pyexec_file/str with re-raise flag
* re-init MP state before executing scripts
2015-08-13 00:22:55 +02:00
iabdalkader
cbbd93b0ca Add the selftest script in main 2015-08-09 22:06:57 +02:00
iabdalkader
d9d991054d Clear debug flags when initializing usbdbg 2015-08-09 21:58:31 +02:00
iabdalkader
54288c5351 Add image module
* Move Image class and misc functions to image module
2015-08-09 13:00:06 +02:00
iabdalkader
0dffedda92 Fix typo 2015-08-08 00:33:26 +02:00
iabdalkader
fa12a1a704 Log fatal errors to file 2015-08-08 00:31:59 +02:00
iabdalkader
4376e87609 Revert sensor_init and check error after USB init 2015-08-08 00:30:39 +02:00
iabdalkader
9af3b9eaba Return different error codes in sensor_init 2015-08-07 23:31:45 +02:00
iabdalkader
aaeaff476d Delay sensor_init
* Call sensor_init after initializing USB mass storage to log errors.
2015-08-07 23:16:30 +02:00
iabdalkader
b99df66659 Wait for IDE to read the frame buffer
* Wait for the IDE to read the frame buffer after trying the lock.
2015-08-07 17:55:11 +02:00
iabdalkader
5f54935378 Fix internal ADC channels readings 2015-08-06 23:13:09 +02:00
iabdalkader
35df760a8c Init one ADC channel in ADCAll
* ADC channel 5 in OMV2
2015-08-06 12:20:58 +02:00
iabdalkader
4c9982b7e9 Rename usbdbg clear script to clear flags 2015-08-06 12:20:17 +02:00
iabdalkader
99bedb06b6 Move firmware files to board directories. 2015-08-01 11:16:59 +02:00
iabdalkader
939c47da6c Add ring buffer 2015-08-01 11:07:22 +02:00
iabdalkader
8c1ff900a8 Fix OPENMV1 build
* Fix board config files
* Fix linker script
* Fix sdcard CD
2015-08-01 10:56:37 +02:00
iabdalkader
856938fea5 Add image get/set pixel 2015-07-31 14:13:09 +02:00
iabdalkader
78abfb87e6 Add PY_ASSERT_TRUE_MSG 2015-07-31 14:11:26 +02:00
iabdalkader
269345303b Add image subscr 2015-07-31 12:37:45 +02:00
iabdalkader
e446e03f9d Remove check for unused pyexec_mode_kind 2015-07-30 17:37:31 +02:00
iabdalkader
b42da07430 Remove reset_mode 2015-07-30 17:33:12 +02:00
iabdalkader
d43eda7e51 Move parse and compile inside exception handler
* This allows syntax errors to be caught and printed
2015-07-29 23:04:41 +02:00
iabdalkader
86a141e51a Add set color bar function 2015-07-29 22:32:05 +02:00
iabdalkader
f6d5129cc7 Clear fb ready flag when stopping script
* This stops the IDE from reading the same frame buffer
2015-07-29 22:04:36 +02:00
iabdalkader
4174eaf029 Generate binaries in firmware dir 2015-07-28 20:33:05 +02:00
iabdalkader
3d31d2662a Update USB VID/PID 2015-07-21 17:42:31 +02:00
iabdalkader
4965343069 Update micropython branch to r1.4.4 2015-07-18 07:05:39 +02:00
iabdalkader
f34b07f015 Update print function 2015-07-18 07:05:13 +02:00
iabdalkader
7fbe54ad4e Update headers for MP 1.4.4 2015-07-18 07:04:46 +02:00
iabdalkader
39b40526d3 Update Makefile for MP 1.4.4 2015-07-18 06:58:47 +02:00
iabdalkader
302dde7017 Update MP
* Add HardFault debugging.
2015-07-18 05:58:31 +02:00
iabdalkader
f7d71cd594 More parse and compile script to main thread 2015-07-13 07:51:48 +02:00
iabdalkader
e2f634675f Rename ptr to mem for consistency. 2015-07-13 07:07:46 +02:00
iabdalkader
a26f752285 Change memory exception to MemoryError 2015-07-13 07:07:02 +02:00
iabdalkader
b5e90c4c8d Add xalloc_fail 2015-07-13 07:06:25 +02:00
iabdalkader
a94b324bb4 Call DCMI DMA abort in sensor reset function
* Call DMA abort in sensor reset function just in case there's a
DMA request in progress.
2015-07-12 07:58:41 +02:00
iabdalkader
4618aeb496 Enable DCMI interrupts 2015-07-12 07:57:34 +02:00
iabdalkader
16fdecf7f4 Remove hard sensor reset 2015-07-12 04:11:44 +02:00
iabdalkader
c76c75e7b0 Fixe jpeg mode assignment 2015-07-12 03:15:10 +02:00
iabdalkader
54bf1b4334 Add JPEG mode to dcmi_config
* This also disables DCMI interrupts the second time dcmi_config is called
2015-07-12 02:24:46 +02:00
iabdalkader
3f9d97c511 Increase heap 2015-07-12 01:48:33 +02:00
iabdalkader
fb7d17a127 Remove xalloc_init 2015-07-12 00:38:26 +02:00
iabdalkader
c5fb6657fd Use nlr_raise in xalloc 2015-07-12 00:36:48 +02:00
iabdalkader
765632af91 Check number of stages when loading cascade 2015-07-10 04:10:03 +02:00
iabdalkader
57ebe7eb9c Fix the number of features and rectangles
* Fix the number of features and rectangles when loading cascades from flash
2015-07-10 02:58:07 +02:00
iabdalkader
e273e43961 Add stages kw arg to load cascade function 2015-07-10 02:57:30 +02:00
iabdalkader
e00d92f6f7 Fix find_features
* Add all objects to returned list.
2015-07-10 01:36:26 +02:00
iabdalkader
9d51051ba8 Return FR_NO_FILE if built-in cascade not found 2015-07-09 04:38:07 +02:00
iabdalkader
d0d1883354 Add Built-in Haar Cascades
* Add common cascades to flash
2015-07-09 03:49:57 +02:00
iabdalkader
ff611f3706 Increase flash storage size 2015-07-08 23:08:41 +02:00
iabdalkader
4ff2d795bd Fix text length 2015-07-08 23:00:10 +02:00
iabdalkader
42b439a52e Change IDE interrupt type
* Change IDE interrupt from OSError to Exception
2015-07-08 22:27:44 +02:00
iabdalkader
3ba0612a8a Add another standard baudrate for the IDE 2015-07-08 02:39:38 +02:00
iabdalkader
0ffb74df7a Lower pixel clock frequency to 54MHz
* Lower pixel clock frequency to be within the DCMI specs (max 54MHz)
2015-07-04 21:13:16 +02:00
iabdalkader
182a844cd2 Add FW version command
* Add FW version command to usbdbg.
* Add FW version function to openmv.py
* Check for major version in the IDE.
2015-07-04 03:44:42 +02:00
iabdalkader
2de4c717eb Cleanup the MLX module
* Set update rate to 32Hz
* Use ambient temp to scale IR data
* Return a GRAYSCALE or RAINBOW image
2015-05-07 09:54:39 +03:00
iabdalkader
a674b99474 Small fixes to stmhal/spi 2015-05-05 14:04:56 +03:00
iabdalkader
d38112fb3c Add set_saturation function 2015-05-05 14:02:44 +03:00
iabdalkader
54ae5ff425 Add new resolution for LCD 2015-05-05 13:39:16 +03:00
iabdalkader
e540a52f29 Fix soft I2C pin mapping 2015-05-05 13:29:53 +03:00
iabdalkader
09e77b5da8 Fix volume labels and root dir 2015-05-04 11:51:46 +03:00
iabdalkader
5bd4876989 Update MP 2015-05-03 13:13:09 +03:00
iabdalkader
8a68746a37 Increase heap size 2015-05-03 11:04:16 +03:00
iabdalkader
1879988bcb Set correct stack limit for MP 2015-05-03 10:58:58 +03:00
iabdalkader
aed7c8678e Clear frame ready in sensor_init 2015-05-03 10:25:15 +03:00
iabdalkader
ace7b976fb Remove init_modules
* init modules is not needed anymore.
2015-05-03 10:22:07 +03:00
iabdalkader
4d92e632fc Use MCO as sensor clock source for OMV2 2015-05-01 04:59:28 +03:00
iabdalkader
b9801708c8 Fix SDCARD chip detect 2015-05-01 04:58:39 +03:00
iabdalkader
1c66afe971 Fix mlx undefined reference 2015-05-01 04:58:16 +03:00
iabdalkader
117b6d862d Alloc only k rows for median filter 2015-05-01 04:57:14 +03:00
iabdalkader
76c96cab61 Use FB for intergal images for OMV1/2 2015-05-01 04:56:41 +03:00
iabdalkader
74cba716b7 Fix image window for OMV2 2015-05-01 04:44:53 +03:00
iabdalkader
57cccca3f3 Add support for OpenMV2 2015-05-01 04:44:31 +03:00
iabdalkader
338320ad3c Update MP 2015-04-29 04:13:07 +03:00
iabdalkader
fa7ab8f70a Rename lab.c to lab_tab.c 2015-04-29 04:11:37 +03:00
iabdalkader
6231d528d2 Use pydfu.py instead of dfu-util
* Latest libusb broke dfu-util
* See https://github.com/walac/pyusb/issues/94
2015-04-29 04:08:39 +03:00
iabdalkader
6886c7b531 Update top Makefile
* Remove old modules
* Add MP modules
* Update for new MP code
2015-04-29 04:07:29 +03:00
iabdalkader
021fa678c9 Remove old pin config and MSP code 2015-04-29 04:05:58 +03:00
iabdalkader
fafd586b32 Disable LAB table for OpenMV1
* The LAB lookup is too big for 512K flash, it used to fit
at some point but not after enabling all the needed modules.

* The imlib_rgb_to_lab function is way slower than LAB lookup,
  but it's a must to maintain support for OMV1
2015-04-29 04:02:40 +03:00
iabdalkader
8197a44c3f Fix fast_cbrtf 2015-04-29 04:01:36 +03:00
iabdalkader
b244eb0ec8 Remove old modules from omv/Makefile 2015-04-29 00:46:45 +03:00
iabdalkader
977b068316 Use pendsv_nlr_jump_hard to schedule HW PENDSV 2015-04-29 00:46:02 +03:00
iabdalkader
7cd5e9e840 Add comment on RGB565->RGB888 macros 2015-04-28 23:29:50 +03:00
iabdalkader
aeee94726b Remove USB from ISR section 2015-04-28 22:48:27 +03:00
iabdalkader
12fd9d5df2 Return compiled script instead of vstr
* Compile the script when the last part is received.
* This makes sure script_buf is not changed before it's compiled
2015-04-25 23:39:58 +03:00
iabdalkader
ecdcac56d2 Add missing headers 2015-04-25 23:34:42 +03:00
iabdalkader
9b068dd992 Add extern ffs_strerror 2015-04-25 23:06:36 +03:00
iabdalkader
1edee935d1 Add atomic sections to SCCB/I2C read/write 2015-04-25 22:28:02 +03:00
iabdalkader
a8928ca3b2 Move clock module to py_time 2015-04-22 02:27:37 +02:00
iabdalkader
6d2fafa947 Remove old peripheral modules
* Remove old peripheral modules
* Use MP's built-in modules
2015-04-22 00:07:20 +02:00
iabdalkader
74d6fa4314 Remove RNG 2015-04-15 23:40:11 +02:00
iabdalkader
74bb497e52 Update FatFS to 0.10c 2015-04-15 23:40:11 +02:00
iabdalkader
2ccfee7837 Update branch
* Flush 64-bytes packets with empty packets
2015-02-11 07:13:37 +02:00
iabdalkader
63b156cf48 Reset Rx/Tx pointers when switching cdc/debug mode 2015-02-08 11:19:01 +02:00
iabdalkader
754cce406c Implement debugging over CDC 2015-02-08 11:12:24 +02:00
iabdalkader
a888f769bc Fix temlate matching 2014-12-18 20:15:13 +02:00
iabdalkader
9ec26a53d0 Remove empty interface from second config
* Windows 7 64-bit doesn't like it.
2014-11-15 04:24:02 +02:00
iabdalkader
d48a7ef1e9 Update Makefiles to use DfuSe files. 2014-11-15 04:21:00 +02:00
iabdalkader
f524650881 Add DFU image
* Generate dfu image
2014-11-11 01:33:16 +02:00
iabdalkader
6a0af1f3c3 Use separate configs for cdc/hid and debug
* This is the only solution that works with libusb on Windows
* Soft-disconnect is used to switch between configs
2014-11-10 19:36:34 +02:00
iabdalkader
40d43a2a8c Add OMV Debug Interface 2014-11-06 15:14:33 +02:00
iabdalkader
551a8be156 Increase delay for IDE 2014-11-02 15:53:02 +02:00
iabdalkader
cea31c1774 Use one request for locking and header
* Use one request for locking and FB header to save bandwidth
2014-11-01 15:58:52 +02:00
iabdalkader
899ec65507 Add delay if IDE tried to lock FB
* Fix #27
2014-10-31 13:57:17 +02:00
iabdalkader
ef9bf26981 Add Eye Detector 2014-10-25 15:33:02 +02:00
iabdalkader
cf92de7c8a Modify LBP to use a cascade 2014-10-21 16:51:07 +02:00
iabdalkader
a2780e5a5a Add invert,binary 2014-10-21 16:47:00 +02:00
iabdalkader
56c7bb31ab Fix typo 2014-10-20 13:17:33 +02:00
iabdalkader
e4003e3e96 Enable UXGA 2014-10-06 17:37:51 +02:00
iabdalkader
07b1269ed0 Fix read/write return mp_obj_t 2014-10-05 00:14:25 +02:00
iabdalkader
4891184b67 Fix uart read/write 2014-10-03 22:56:39 +02:00
iabdalkader
8b0456b93e Update MP branch 2014-10-02 15:54:02 +02:00
iabdalkader
97ea356e9d Use larger stack limit 2014-10-02 01:38:50 +02:00
iabdalkader
b45dec9b1a Use MP_ATOMIC_SECTION to enable/disable IRQs 2014-10-02 01:38:28 +02:00
iabdalkader
17d3e73f86 Update MP branch 2014-10-01 01:41:38 +02:00
iabdalkader
d2fd0f631d Disable patch prog 2014-10-01 01:41:13 +02:00
iabdalkader
559da9af95 Remove RNG from ISR 2014-10-01 01:35:59 +02:00
iabdalkader
db7bce66d1 Update STM Cube to 1.3 2014-10-01 01:26:03 +02:00
iabdalkader
90309715c9 Pass RGB to image_threshold and convert to LAB 2014-09-28 16:40:06 +02:00
iabdalkader
2ba464310e Fix XYZ lookup 2014-09-28 15:37:23 +02:00
iabdalkader
2706b0c41b Move xyz table to /img 2014-09-28 15:35:51 +02:00
iabdalkader
3fca55514a Remove commented code 2014-09-27 18:57:12 +02:00
shimniok@gmail.com
dbb2019b9a Added feature to reset into DFU from omv onboard software when receiving USBDB_BOOT 2014-09-26 22:55:01 -06:00
shimniok@gmail.com
cbace2759a added functionality for starting bootloader via USBDBG_BOOT 2014-09-26 11:15:27 -06:00
iabdalkader
8467c67f06 Add System Reset Command
* Add sys reset to USBDBG and IDE
2014-09-25 03:37:00 +02:00
iabdalkader
d6375f0292 Use gpio module to reg interrupts 2014-09-25 00:14:39 +02:00
iabdalkader
422778e7b3 Add priority, sub_priority to gpio_init_exti 2014-09-24 23:56:30 +02:00
iabdalkader
a70dc7052d Fix GPIO pin defs 2014-09-24 23:55:15 +02:00
iabdalkader
0224c29588 Fix GPIO pin mapping 2014-09-24 23:26:59 +02:00
iabdalkader
04c1fe0d0e Fix FAST ROI
* Find all KPs then discard based on ROI (for small ROIs)
2014-09-24 22:56:45 +02:00
iabdalkader
ec8ed77f27 Fix SDRAM Timings 2014-09-24 22:25:27 +02:00
iabdalkader
ce3d435137 Add load_lbp 2014-09-24 22:25:14 +02:00
iabdalkader
3a04f1c74a Optimize PPM writer 2014-09-20 09:02:24 +02:00
iabdalkader
65cd8a133a Update license
* Switch to MIT
* Add license notice to source files
2014-09-20 05:09:52 +02:00
iabdalkader
bd56912fb6 Fix uSD SPI issue corrupting framebuffer 2014-09-20 03:34:54 +02:00
iabdalkader
5f51438029 Add LBP 2014-09-20 02:02:22 +02:00
iabdalkader
a25650562c Cleanup main 2014-09-18 19:23:10 +02:00
iabdalkader
27f5ae0093 Move FS cache to heap
* This will alloc FS cache only if it's needed.
* Increase heap to ~45K
2014-09-18 19:22:21 +02:00
iabdalkader
e01565cdb5 Fix quant table init 2014-09-17 22:16:04 +02:00
iabdalkader
c41cbc1e85 Format LICENSE 2014-09-17 21:42:23 +02:00
iabdalkader
f470517b2b Disable a few modules, update qstr 2014-09-17 21:40:30 +02:00
iabdalkader
8493538076 Remove old syscalls file 2014-09-17 21:40:13 +02:00
iabdalkader
a44be5d38b Compile for OMV2 only 2014-09-17 21:39:35 +02:00
iabdalkader
8854f0a9d5 Add JPEG encoder 2014-09-17 21:39:19 +02:00
iabdalkader
9cb9c4b892 Move more Objects to ISR section 2014-09-17 21:32:55 +02:00
iabdalkader
cc522583bb Fix lab,xyz tables 2014-09-17 21:20:19 +02:00
iabdalkader
73543a727e Expand heap a bit 2014-09-12 20:55:29 +02:00
iabdalkader
dcd65daee5 Add threshold, scale KW args to VJ detector 2014-09-12 20:53:43 +02:00
iabdalkader
52c71f387e Add STD to cascade. 2014-09-12 19:00:21 +02:00
iabdalkader
9fa248f44b Bug fixes and optimization 2014-09-12 18:59:49 +02:00
iabdalkader
c30adb6ea1 Fix scaled integral 2014-09-12 18:44:26 +02:00
iabdalkader
8bfc2c92a9 Add threshold param to haar detector 2014-09-12 14:32:18 +02:00
iabdalkader
918026a22c Use ROI in Keypoint detector 2014-09-12 13:56:08 +02:00
iabdalkader
017b62d20d Use integral_scaled 2014-09-12 13:48:17 +02:00
iabdalkader
b2d39d3e66 Add integral_scaled prototype 2014-09-12 13:42:37 +02:00
iabdalkader
065a3cb337 Remove SCALE_FACTOR const 2014-09-12 11:50:17 +02:00
iabdalkader
e898bbd15a Fix assertion code 2014-09-12 11:47:14 +02:00
iabdalkader
4a0790635e Check draw_line image boundaries 2014-09-11 11:49:36 +02:00
iabdalkader
04b013b33b Cleanup 2014-09-11 07:35:33 +02:00
iabdalkader
fe778e07f9 Use integral_alloc 2014-09-11 07:08:35 +02:00
iabdalkader
f8e08b9749 Add draw_line 2014-09-11 07:05:36 +02:00
iabdalkader
1bb823b981 Add integral_alloc 2014-09-11 07:03:49 +02:00
iabdalkader
5ec8511f90 Better atan2f 2014-09-11 07:02:52 +02:00
iabdalkader
aa93ab7c42 Use bytes for scores 2014-09-11 06:05:21 +02:00
iabdalkader
44669573ce Minor fixes 2014-09-11 05:52:43 +02:00
iabdalkader
649344c40c More fixes to median 2014-09-11 03:40:51 +02:00
iabdalkader
54fec0f294 Fix median 2014-09-10 23:18:15 +02:00
iabdalkader
b8d989be57 Update MP branch 2014-09-10 23:16:37 +02:00
iabdalkader
7bb8bef8a1 Add Update FB Command 2014-09-10 22:22:50 +02:00
iabdalkader
949fbfef51 Save angle when writing descriptor 2014-09-10 19:00:13 +02:00
iabdalkader
c70960d17e Add save descriptor from ROI 2014-09-10 18:59:34 +02:00
iabdalkader
d0cce539de Fix atan2f 2014-09-09 17:04:04 +02:00
iabdalkader
50062826d2 Add missing header 2014-09-09 15:09:06 +02:00
iabdalkader
3270d08241 Add UART defs 2014-09-09 15:08:25 +02:00
iabdalkader
903f756a7c Misc Fixes, add load/save descriptor 2014-09-09 15:07:22 +02:00
iabdalkader
06c8f77662 Add ceil 2014-09-09 15:02:34 +02:00
iabdalkader
2f5b82ec77 Update UART code 2014-09-05 18:09:07 +02:00
iabdalkader
41d531242a Fix big frame size 2014-09-04 01:03:38 +02:00
iabdalkader
cf9be6bf71 Mirror/VFLIP when building for OMV2 2014-09-03 23:47:09 +02:00
iabdalkader
c12f559d62 Remove sd from isr section
* Overflows on OMV2
2014-09-03 23:37:19 +02:00
iabdalkader
734eca7e97 Add Color to draw_string 2014-09-03 19:16:41 +02:00
iabdalkader
d142654920 Add Scaled Integral Function 2014-09-03 16:17:46 +02:00
iabdalkader
2e81c7a150 Cleanup Haar code 2014-09-03 16:14:17 +02:00
iabdalkader
b2eb44910a Add subimg 2014-09-02 16:29:20 +02:00
iabdalkader
5fdd6e09a3 Add font rendering 2014-09-01 23:43:06 +02:00
iabdalkader
06c9253644 Rework blob counting 2014-09-01 16:52:14 +02:00
iabdalkader
29202f1f99 Add morphological operations, fix threshold 2014-09-01 16:50:58 +02:00
iabdalkader
526efdac04 Small Optimizations 2014-09-01 16:17:33 +02:00
iabdalkader
ad1daadd69 Add more objects to .isr_vector 2014-09-01 15:41:19 +02:00
iabdalkader
82e46987b1 Remove deinit 2014-09-01 15:40:10 +02:00
iabdalkader
4a39ffc65b Add module names for debugging 2014-08-31 15:12:11 +02:00
iabdalkader
99657a2207 Fix I2C init/deinit 2014-08-31 14:13:29 +02:00
iabdalkader
b621643763 Opt imlib_integral_image 2014-08-30 19:19:07 +02:00
iabdalkader
19121dec9f Fix exported functions 2014-08-30 18:35:37 +02:00
iabdalkader
d8c057d935 Optimize blob alloc 2014-08-30 17:31:28 +02:00