Commit Graph

1889 Commits

Author SHA1 Message Date
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
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