Ibrahim Abd Elkader
9a4754d873
Merge pull request #251 from kwagyeman/master
...
Improve find lines merging.
2017-07-05 00:36:20 +02:00
Kwabena W. Agyeman
089577173c
Improve find lines merging.
2017-07-04 18:23:26 -04:00
Ibrahim Abd Elkader
c15d58d8c5
Merge pull request #250 from kwagyeman/master
...
Fix memory leak with get_regression.
2017-07-04 20:52:17 +02:00
Kwabena W. Agyeman
1ed867e39f
Fix memory leak with get_regression.
2017-07-04 14:21:11 -04:00
Ibrahim Abd Elkader
c83ae21c63
Merge pull request #249 from kwagyeman/master
...
Add find circles.
2017-07-04 20:16:59 +02:00
Kwabena W. Agyeman
5f4e690fa1
Add find circles.
...
Now you can find circles with your OpenMV Cam! The alrogithm can eek out
about 7 FPS on a 160x120 image which is quite impressive given how
computationally expensive circle finding is...
2017-07-04 14:09:21 -04:00
Ibrahim Abd Elkader
2c05e20922
Merge pull request #248 from kwagyeman/master
...
Fixed blob issues.
2017-07-03 20:13:10 +02:00
Kwabena W. Agyeman
48f1e0bada
Fixed blob issues.
...
* Angle averaging done correctly using sin/cos now.
* Unspecfied color bounds default to least restrictive instead of most
restrictive.
2017-07-03 13:05:57 -04:00
Ibrahim Abd Elkader
1bbf18e11d
Merge pull request #247 from kwagyeman/master
...
Add linear regression
2017-06-29 18:28:52 +02:00
iabdalkader
d6b048a9af
Add servo shield example.
2017-06-29 16:17:21 +02:00
iabdalkader
97cbeeefe2
Move tests folder.
2017-06-29 16:04:32 +02:00
Kwabena W. Agyeman
cd4ad0dff3
Add linear regression
...
For easy line following mainly. In non-robust mode the line is computed
using least squares. In robust mode the line is computed using the
Theil-Sen median of slopes method. We do not use the Siegel Median of
Medians operation because it costs more CPU time... but, more
importantly there's no way to improve the centroid estimate so even if
the slope is more robust the line will be drawn in the wrong place.
2017-06-28 01:16:15 -04:00
iabdalkader
7d29104ed6
Add sensor.flush()
2017-06-25 16:48:17 +02:00
iabdalkader
99ec972ad0
Rename main_fb_image_size to fb_buffer_size().
2017-06-24 23:29:41 +02:00
iabdalkader
062f86c60a
Remove *_FB_SIZE macros.
2017-06-24 23:03:09 +02:00
iabdalkader
bfe1f02ffa
Remove 4 bytes from FB_SIZE macros.
2017-06-24 22:58:37 +02:00
Ibrahim Abd Elkader
c0967d1c5e
Merge pull request #246 from kwagyeman/master
...
Cleanup framebuffer code
2017-06-24 22:56:39 +02:00
Kwabena W. Agyeman
c2c92c9f41
No requirement to size FB anymore.
2017-06-24 12:43:23 -04:00
Kwabena W. Agyeman
a02c2bad6c
Fix main FB and JPEG FB size and pixels code.
2017-06-24 12:42:02 -04:00
Kwabena W. Agyeman
fffa3a691a
Add function to get image size in bytes given the format.
2017-06-24 12:27:23 -04:00
iabdalkader
851b5306a7
Add IMAGE_BPP_BAYER.
2017-06-19 01:50:02 +02:00
iabdalkader
d0b45e3cd4
Fix HoG script.
2017-06-19 01:33:40 +02:00
Ibrahim Abd Elkader
ec8e186432
Merge pull request #245 from kwagyeman/master
...
Improve image load.
2017-06-19 01:04:19 +02:00
Kwabena W. Agyeman
87d53385a6
Improve image load.
...
It now copies to the frame buffer and will error out if loading an image
that is too large.
2017-06-18 13:57:34 -04:00
iabdalkader
32211bcd44
Remove test draw keypoints.
...
* Draw keypoints called with the wrong args.
2017-06-16 23:58:35 +02:00
Ibrahim Abd Elkader
3082632b00
Merge pull request #244 from kwagyeman/master
...
Add corners to code objects
2017-06-16 16:13:11 +02:00
Kwabena W. Agyeman
968574b1a5
Add corners to code objects.
2017-06-16 01:56:33 -04:00
Ibrahim Abd Elkader
9e1b778040
Merge pull request #243 from kwagyeman/master
...
Improve stream file format.
2017-06-12 19:45:13 +02:00
Kwabena W. Agyeman
cfe7881dff
Improve stream file format.
...
All chunks are multiples of 16 bytes. Don't want to run into issues with
long alignment now or in the future.
2017-06-12 01:43:57 -04:00
Ibrahim Abd Elkader
909382b416
Merge pull request #242 from kwagyeman/master
...
Add Image Writer/Reader
2017-06-12 00:52:12 +02:00
Kwabena W. Agyeman
dc6ab59cfd
Add Image Writer/Reader
...
These two new classes allow you to record image data for later viewing
at the same speed the image data was recorded. Unlike GIF/MJPEG the
image data is stored on the file system completely uncompressed in
native frame buffer format making super fast reading and writing
possible. Recording VGA Grayscale at ~13 FPS is possible along with
playing it back. (That's about 30 Mb/s folks).
...
The motivation for writing these scripts is so that you can record video
of something like a line following track, take that video home, and work
on computer vision algorithms for that data.
These classes should make it a lot easier to use the camera at home now.
2017-06-11 15:53:43 -04:00
Ibrahim Abd Elkader
a72573d487
Merge pull request #241 from kwagyeman/master
...
Refactor framebuffer
2017-06-11 19:54:27 +02:00
Kwabena W. Agyeman
7ec990223f
Apply requested fixes.
2017-06-11 13:47:44 -04:00
Kwabena W. Agyeman
f9e124f8cd
Refactor framebuffer
...
Moved structs along with image copying code from sensor into
framebuffer.c so that we can use the new copy_fb_to_jpeg_fb() function
in the image library for methods with "copy_to_fb" so that they update
the IDE preview when called.
Also, I noticed that the MAIN_FB_SIZE() value is not calculated
correctly in all cases. Will fix later. Trying to keep this commit clean
for just the refactoring.
All changes have been tested. Too.
2017-06-10 23:31:42 -04:00
iabdalkader
c8d7a4188f
Update built-in README.
2017-06-09 01:00:06 +02:00
iabdalkader
5887129a0a
Remove inf file from fresh FS.
2017-06-09 00:30:13 +02:00
iabdalkader
8cc740f989
Add RTC example.
2017-06-07 23:00:23 +02:00
iabdalkader
6850a53bf9
Enable RTC.
2017-06-07 22:59:54 +02:00
iabdalkader
4af10aaa2e
Fix RTC init.
2017-06-07 22:59:42 +02:00
iabdalkader
a5b25bd5b7
Increase UART char timeout.
...
* Fix issue #240
2017-06-07 21:26:34 +02:00
Ibrahim Abd Elkader
070a54a34f
Merge pull request #239 from kwagyeman/master
...
Add sensor width and height.
2017-06-05 04:01:55 +02:00
Kwabena W. Agyeman
343c4b9092
Add sensor width and height.
...
Should have added this a long time ago.
2017-06-04 21:49:07 -04:00
iabdalkader
63c3ee85c2
Bump firmware version.
2017-06-04 20:52:02 +02:00
iabdalkader
c8c776374c
Update firmware images.
2017-06-04 20:49:29 +02:00
iabdalkader
e287b39968
Fix FW version.
2017-06-04 20:46:24 +02:00
iabdalkader
b6ed4e3321
Update change log.
2017-06-04 20:29:31 +02:00
iabdalkader
1cdc0ae1e7
Update firmware images.
2017-06-04 20:20:04 +02:00
iabdalkader
8cfa8f8b90
Apply SCSI layer fix from MP upstream.
...
* Fix #236
2017-06-04 20:04:39 +02:00
Ibrahim Abd Elkader
9bf0701328
Merge pull request #238 from kwagyeman/master
...
Upstream Kanji fix from quirc.
2017-06-03 21:58:08 +02:00
Kwabena W. Agyeman
744a2d7b04
Upstream Kanji fix.
2017-06-03 15:09:42 -04:00