Commit Graph

1826 Commits

Author SHA1 Message Date
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
iabdalkader
9091bc6ba0 Update binary ops docs. 2017-06-03 20:52:49 +02:00
Ibrahim Abd Elkader
7f7f74c100 Merge pull request #237 from kwagyeman/master
Fixed binary and/or naming.
2017-06-03 20:49:20 +02:00
Kwabena W. Agyeman
d853e43cd6 Fixed binary and/or naming. 2017-06-03 14:27:19 -04:00
iabdalkader
2232d78586 Bump firmware version. 2017-05-30 01:26:07 +02:00
iabdalkader
0a70d4899f Update change log. 2017-05-30 01:23:52 +02:00
iabdalkader
f3c02990e4 Update firmware images. 2017-05-30 01:16:26 +02:00
iabdalkader
f85540b716 Reset the FPS clock every 2s. 2017-05-30 01:03:15 +02:00
iabdalkader
0666d0a465 Update MP docs. 2017-05-29 21:31:03 +02:00
Ibrahim Abd Elkader
0db3ce7689 Merge pull request #235 from kwagyeman/master
Fix error with compress_for_ide()
2017-05-29 21:31:38 +02:00
Kwabena W. Agyeman
2557070422 Fix error with compress_for_ide()
Forgot to add size of start and end markers.
2017-05-28 23:07:11 -04:00
Ibrahim Abd Elkader
8eebf5d5e4 Merge pull request #234 from kwagyeman/master
Change skip_frames() to use a 2 second timeout.
2017-05-28 01:38:30 +02:00
Kwabena W. Agyeman
a039b5d1c7 Change skip_frames() to use a 2 second timeout.
This was necessary due to the increase in the frame rate. The previous
method did not correlate to time.

All scripts updated.
2017-05-27 19:31:41 -04:00
Ibrahim Abd Elkader
4e07e36226 Merge pull request #233 from kwagyeman/master
Update QRCode
2017-05-27 22:53:12 +02:00
Kwabena W. Agyeman
e9e48d5028 Update QRCode
Fixed issues with QRCode method in response to user reqeust on the
forums: http://forums.openmv.io/viewtopic.php?
f=6&t=286&p=1799&hilit=qrcode#p1799.
2017-05-27 16:21:10 -04:00
Ibrahim Abd Elkader
09e391661b Merge pull request #232 from kwagyeman/master
Add more resolution combinations.
2017-05-27 02:25:31 +02:00
Kwabena W. Agyeman
4d6612609e Add more resolution combinations.
With the new frame rate speed increase folks will be asking for smaller
resolutions to get 85 FPS or so when running an algorithm. This commit
adds all scaled modes of frame sizes we already support. We should be
good now on frame sizes for the present and future now.

Todo - skip frames does not run long enough anymore for auto white
balance and gain to stablize before they are turned off in some scripts.
This needs to be adjusted.
2017-05-26 20:09:59 -04:00
iabdalkader
df1bdc65b8 Fix recvfrom return. 2017-05-26 20:29:23 +02:00
Ibrahim Abd Elkader
68b064a0c3 Update README.md 2017-05-24 03:09:52 +02:00
Ibrahim Abd Elkader
96992bac0b Update README.md 2017-05-24 03:09:03 +02:00
Ibrahim Abd Elkader
3991ec8311 Update README.md 2017-05-24 03:04:54 +02:00
Ibrahim Abd Elkader
5ed7445a2e Update README.md 2017-05-24 03:01:40 +02:00
Ibrahim Abd Elkader
4bb15fa20d Update README.md 2017-05-24 03:00:07 +02:00
Ibrahim Abd Elkader
67bed5c2c3 Merge pull request #231 from seth10/patch-1
Update black_grayscale_line_following.py
2017-05-23 18:50:16 +02:00
Seth T
e040b8e87c Simplify finding largest_blob 2017-05-23 11:56:53 -04:00
Seth T
7b62d97cbb Clarify numeric literals are not in octal 2017-05-23 11:54:07 -04:00
Seth T
b7edb589b1 Typo 2017-05-23 11:53:29 -04:00
iabdalkader
05f5d07e99 Update keypoints example script. 2017-05-22 19:48:49 +02:00
iabdalkader
e960546b6b Add keypoints match object. 2017-05-22 19:48:15 +02:00
iabdalkader
1057dce2c9 Fix formatting. 2017-05-22 18:44:41 +02:00
iabdalkader
c59495d215 Call DCMI_VsyncExtiCallback from EXTI9_5 handler. 2017-05-21 22:29:26 +02:00