Commit Graph

1769 Commits

Author SHA1 Message Date
iabdalkader
103bb27f83 Set sensor PLL to 6x and reduce extclk.
* OMV2-F4 extclk = 8MHz * 6 = 48MHz
* OMV3-F7 extclk = 9MHz * 6 = 54MHz
2017-05-13 04:10:04 +02:00
iabdalkader
832819eede Set sensor window to QVGA when res is <= VGA.
* This reduces the readout time allowing to cam to capture more (miss less) frames.
2017-05-13 04:08:33 +02:00
iabdalkader
520537f7b3 Add set resolution macro. 2017-05-13 03:30:13 +02:00
iabdalkader
435644e63f Add find_lines docs 2017-05-11 13:53:09 +02:00
Ibrahim Abd Elkader
059d2723b7 Merge pull request #228 from kwagyeman/master
Add find_line_segments
2017-05-11 13:52:53 +02:00
Kwabena W. Agyeman
f4a9c61544 Add find_line_segments
The OpenMV Cam can now infinite lines and line segments from those
infinite lines. find_lines has been updated to allow all this to work.
2017-05-10 21:40:22 -04:00
iabdalkader
dbda114663 Optimize Canny edge detector.
* Use separable convolution.
* Merge thresholding and non-max suppression steps.
2017-05-08 05:02:56 +02:00
iabdalkader
d80196002d Compile additional features only when enabled.
* This fixes "unused" errors with newer toolchains.
2017-05-07 03:39:15 +02:00
Ibrahim Abd Elkader
b4fc04fae8 Merge pull request #226 from kwagyeman/master
Improved find_lines
2017-05-06 23:22:31 +02:00
Kwabena W. Agyeman
31b7b5bf3e Improved find_lines
Frame rate now can hit 30 FPS when JPEG compression is off. Merging of
lines is perfected too which greatly reduces the noise output. Also,
lines are now objects so you can get their values in an easy way.
2017-05-06 14:31:20 -04:00
iabdalkader
b1196d5f8b Update MP docs 2017-05-01 03:50:58 +02:00
Ibrahim Abd Elkader
2dcc14c962 Merge pull request #224 from kwagyeman/master
Add ID string to arch output.
2017-05-01 03:51:27 +02:00
Kwabena W. Agyeman
284a505865 Add ID string to arch output. 2017-04-30 20:09:00 -04:00
iabdalkader
da3421523b Cleanup OpenMV-3 schematics. 2017-04-30 04:00:09 +02:00
Ibrahim Abd Elkader
6535b4fcdb Merge pull request #223 from kwagyeman/master
Improved subscr and get_buffer
2017-04-30 02:05:34 +02:00
Kwabena W. Agyeman
dc599e40eb Improved subscr and get_buffer
In response to PR https://github.com/openmv/openmv/pull/221.

You can now read and write slices of data to and image at a time.
2017-04-29 19:27:13 -04:00
Ibrahim Abd Elkader
7e43fbd1ab Merge pull request #222 from kwagyeman/master
Add data matrix support.
2017-04-29 02:03:09 +02:00
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