Commit Graph

1752 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
690ec923ae Add data matrix support.
Add support for decoding data matrices and example scripts.
2017-04-28 19:58:19 -04:00
Ibrahim Abd Elkader
3ca451a5be Merge pull request #221 from openmv/revert-220-add_raw_function
Revert "Add image.raw() function."

Function py_image_subscr allows pixel access.
2017-04-28 18:02:58 +02:00
Ibrahim Abd Elkader
7204a35758 Revert "Add image.raw() function." 2017-04-28 18:01:11 +02:00
Ibrahim Abd Elkader
9af92f840b Merge pull request #220 from oopy/add_raw_function
Add image.raw() function.
2017-04-28 17:49:44 +02:00
skaiu
b64c744f2f Add image.raw() function. 2017-04-28 21:51:31 +08:00
Ibrahim Abd Elkader
347552979c Merge pull request #218 from kwagyeman/master
Fix typos.
2017-04-27 07:17:15 +02:00
Kwabena W. Agyeman
08b36f2b21 Fix typos. 2017-04-27 00:44:28 -04:00
Ibrahim Abd Elkader
0707f0b00d Merge pull request #217 from kwagyeman/master
Fix UMM_Refactor Issues.
2017-04-27 06:32:17 +02:00
Kwabena W. Agyeman
aa5131467e Fix UMM_Refactor Issues.
Memory allocation will grow organically now when more RAM is available.
2017-04-27 00:15:16 -04:00
Ibrahim Abd Elkader
0564155543 Merge pull request #216 from kwagyeman/master
Refactor umm_malloc into it's own file.
2017-04-27 04:55:05 +02:00
Kwabena W. Agyeman
35e9f988d6 Refactor umm_malloc into it's own file.
We now have a nice and fast malloc system that easily offers 300KB+
dynamic memory... No need to use xalloc anymore except when we're
transfering objects to MP memory space.
2017-04-26 22:48:52 -04:00
Ibrahim Abd Elkader
c9d58d8a72 Merge pull request #215 from kwagyeman/master
Pull in upstream quirc fixes from github.
2017-04-27 01:04:10 +02:00
Kwabena W. Agyeman
16d711ad5d Pull in upstream quirc fixes from github. 2017-04-25 21:17:12 -04:00
iabdalkader
2c4ec23244 Fix gcc2016q4 warnings.
* Fixed misleading indentation.
* Removed unused static variables.
* Disabled strict aliasing for STM DSP library.
2017-04-23 20:40:07 +02:00
iabdalkader
1fd9bf9251 Enable UART1 for OPENMV3 2017-04-23 20:32:44 +02:00
iabdalkader
6e2ba0e300 Bump firmware version. 2017-03-26 22:25:23 +02:00
iabdalkader
7df75e920d Update change log. 2017-03-26 22:15:14 +02:00
iabdalkader
06f9df53fa Update firmware images. 2017-03-26 22:13:03 +02:00
iabdalkader
cab69cc64d Reverting last commit.
* Using parentheses for the logical test.
2017-03-26 21:48:59 +02:00
iabdalkader
e29d7769e6 Fix logical test error in zbar. 2017-03-26 21:41:42 +02:00
iabdalkader
3fd7c15094 Update docs. 2017-03-25 23:38:32 +02:00
Ibrahim Abd Elkader
6614d2380c Merge pull request #203 from kwagyeman/master
Image Streaming Code
2017-03-25 18:54:43 +02:00
Kwabena W. Agyeman
55e4809ff6 Image Streaming Code
The user can now call compressed_for_ide() and compress_for_ide() on an
image to make a jpeg compressed image formatted for transmission over a
data link other than USB. Note that OpenMV IDE will automatically handle
one of these compressed images ending up in the frame buffer and display
it like normal.

To send the image data the user can do:

print(img.compress_for_ide(), end='')
print(img.compressed_for_ide(), end='')
uart.write(img.compress_for_ide())
uart.write(img.compressed_for_ide())

and etc. As mentioned above, compress() compresses the image in place.
And that in place compressed image will then end up in the jpeg buffer.
OpenMV IDE will automatically handling decoding these special compressed
images when this happens.

All variations of the above code have been tested and are working.
2017-03-25 12:47:23 -04:00
Ibrahim Abd Elkader
d93064ccab Merge pull request #202 from kwagyeman/zbar
Integrate ZBar 2/2
2017-03-24 19:18:04 +02:00
Kwabena W. Agyeman
bfd048e6f3 Integrate ZBar 2/2
ZBar functionality integrated along with an example script.
2017-03-24 12:45:27 -04:00
Ibrahim Abd Elkader
911d29dc78 Merge pull request #201 from kwagyeman/zbar
ZBar Integration Part 1/2.
2017-03-24 18:07:33 +02:00
Kwabena W. Agyeman
dab290675f ZBar Integration Part 1/2.
Main ZBar code, breaking the commit up because the main file is big.

I will refeactor UMM alloc out of apriltag.c and zbar.c once I'm
finished with this commit stream.

ZBar integration gives us support for basically all 1D linear barcodes.
2017-03-24 11:59:10 -04:00
Ibrahim Abd Elkader
2a3e7efcef Merge pull request #200 from kwagyeman/master
Fixed apriltags z translation.
2017-03-22 04:16:05 +02:00
Kwabena W. Agyeman
c6009ae05d Fixed apriltags z translation. 2017-03-21 21:01:52 -04:00
Ibrahim Abd Elkader
fb25fcee5e Merge pull request #199 from kwagyeman/mavlink
Fix uart receiving code
2017-03-22 02:45:03 +02:00
Kwabena W. Agyeman
aa5047cc7b Fix uart receiving code 2017-03-21 20:28:20 -04:00
Ibrahim Abd Elkader
c4d17fb6dd Merge pull request #198 from kwagyeman/mavlink
Add MAVLink scripts for quadcopters
2017-03-22 01:48:55 +02:00
Kwabena W. Agyeman
df17088d32 Add MAVLink scripts for quadcopters 2017-03-21 16:30:16 -04:00
iabdalkader
fb3582b440 Remove old MAX_INT_FRAME. 2017-03-16 20:34:04 +02:00
iabdalkader
669e9ad072 Removed unused JPEG_OFFS_SIZE. 2017-03-12 19:28:14 +02:00
iabdalkader
15d6b96bed Fix py_image_get_buffer to support writing BAYER. 2017-03-12 19:25:48 +02:00
iabdalkader
4502256e19 Fix py_image assertion message. 2017-03-12 19:19:00 +02:00
iabdalkader
11abb5221b Fix framebuffer size checks.
* Delay the FB size check and corrections to snapshot(). If the frame doesn't
  fit FB it gets cropped for GS, or the sensor is switched to bayer for RGB.
2017-03-12 19:07:26 +02:00
iabdalkader
b0ed5bb7af Add Bayer sensor support. 2017-03-12 03:38:26 +02:00
iabdalkader
5615a25745 Add Bayer support in OV7725 driver. 2017-03-12 03:33:33 +02:00
iabdalkader
d330486758 Add Bayer JPEG support. 2017-03-12 03:32:20 +02:00
iabdalkader
b94182dce4 Add new RAW/BAYER pixel format to support 2BPP VGA. 2017-03-12 03:29:49 +02:00
iabdalkader
002c2894aa Add IM_GET_RAW_PIXEL 2017-03-12 02:36:52 +02:00
Ibrahim Abd Elkader
71a486caa3 Merge pull request #194 from kwagyeman/master
Add pixy emulation scripts
2017-03-11 02:57:03 +02:00
Kwabena W. Agyeman
06f41880a7 Add pixy emulation scripts 2017-03-10 19:24:33 -05:00
iabdalkader
81faf6f0f8 Update firmware images. 2017-03-09 23:04:33 +02:00
iabdalkader
fbc30e9736 Add missing ksize. 2017-03-09 22:46:03 +02:00
iabdalkader
e5aa66cd12 Use sep conv in ORB. 2017-03-09 22:43:24 +02:00
iabdalkader
ea7b87e866 Add separable convolution. 2017-03-09 22:43:05 +02:00
iabdalkader
040a3cb0e4 Use separable gaussian kernels. 2017-03-09 22:41:37 +02:00