Commit Graph

165 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
f314ac4e72 Improve sensor module with transpose and get operations 2020-02-11 20:59:36 -08:00
Kwabena W. Agyeman
3097793370 Add IMU driver 2020-02-10 23:25:50 -08:00
Kwabena W. Agyeman
0cdd3e57ac Add initial full support for the OV5640
* Need to increase sensor output speed
* Need to add exposure control code
2020-01-04 17:48:55 -08:00
Kwabena W. Agyeman
1d3540e87a Update TensorFlow
* Pulled new TensorFlow library with MUL/RELU/RELU6 opcodes.
* Fixed error message priting.
* Added ability to load network into the framebuffer vs. the heap.
2019-11-25 21:56:29 -08:00
Kwabena W. Agyeman
15efeda56e Add support for image segmentation. 2019-10-28 23:54:05 -07:00
Kwabena W. Agyeman
6a9c0a370e Add support for TensorFlow Lite for Microcontrollers
This has been a long-time coming, but, it's finally here. TensorFlow lite
runs on the OpenMV Cam now. Better yet, a person detection model
is now built-into all OpenMV Cams too!

Our default code does image classification and supports multi-scale
object detection using a sliding window.

In a coming PR I will add mobilenet examples for the H7 with SDRAM
and image segmentation support.
2019-10-25 21:01:21 +02:00
iabdalkader
54b8132949 License update. 2019-09-05 22:17:50 +02:00
iabdalkader
684614946e WINC1500: Add netinfo function.
* Returns connection RSSI, security type, remote MAC address and IP.
2019-08-26 00:50:53 +02:00
Kwabena W. Agyeman
5691bb7498 Improve large jpeg image data transfer
This commit fixes the following:

* Adds new methods to allow jpeg images to be encoded for transmission
to the IDE.

* Auomatically calls these methods to send the image to the IDE when
there's not enough space in the JPEG buffer. This isn't the fastest but
is better than help support requests about why it doesn't work at all.
2019-08-16 00:35:55 -07:00
Kwabena W. Agyeman
5e0cca6c3c Update the OV2640 driver.
* Images are right side up now.
* Picture quality is acceptable (not as good as the OV7725)
* All auto functions work now (the OV2640 ignores exposure control
however)
* Added XGA frame size.
* JPEG mode is enabled but needs work still (not sure if the H7 hardware
can capture the packet stream fast enough not to drop bytes).
2019-07-20 23:30:08 -07:00
Kwabena W. Agyeman
a47f4120af Add color palette conversion to to_rainbow() 2019-03-11 19:57:46 +02:00
Kwabena W. Agyeman
a3f197e12d Add method to get the color palette. 2019-03-11 19:07:13 +02:00
Kwabena W. Agyeman
92cc75eff5 Add the ability to set the flir into measurment mode
Measurement mode allows you to set a target temperature for the FLIR
lepton so that you can actually use it to measure object temperatures
and do useful things. We try to make the mode work on non-radiometric
FLIR letpons howeever it will not be accurate.
2019-03-11 18:20:31 +02:00
Kwabena W. Agyeman
860a8b280d Add ioctl to get lepton radiometry. 2019-03-11 17:54:23 +02:00
Kwabena W. Agyeman
76af3bd534 Add ioctl to get the lepton module width and height. 2019-03-11 17:09:49 +02:00
iabdalkader
4e0a408055 Add FLIR Lepton IOCTLs 2019-03-05 21:11:52 +02:00
iabdalkader
164f2e71c1 Add set_color_palette 2019-03-05 18:21:53 +02:00
iabdalkader
54e431adb2 Implement MT triggered mode using ioctls 2019-03-04 20:55:17 +02:00
iabdalkader
aafc6e995a Add sensor ioctl function. 2019-03-04 19:52:11 +02:00
Kwabena W. Agyeman
3c49f986e4 Enable setting the sensor to a triggered mode. 2019-03-03 00:48:12 -05:00
Kwabena W. Agyeman
b230de3b42 Add binary format to sensor.
* This format is for use in the Image Lib module since sensor is where
we put the image types.

Will work on the lepton and global shutter drivers next.
2019-02-20 01:59:47 -05:00
Kwabena W. Agyeman
cd586f66bc Upgrade text drawing to support rotations of the character and string. 2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
5b3cd7c9db Make rotation not an optional argument for ellipses. 2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
954431ef52 Add mask functionality to clear. 2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
1f72c3750d Add back mask methods. 2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
b8df7033ab Improve Image() so you can now create null images. 2019-02-02 23:21:05 -05:00
Kwabena W. Agyeman
6d59e59321 Upgrade copy()
* Copy is really good now.
* Added crop/scale which are variants of copy.
2019-01-28 00:13:17 -05:00
Kwabena W. Agyeman
7f929f5ca6 Add color channel extraction per forum users request. 2019-01-27 19:25:21 -05:00
Kwabena W. Agyeman
ce7699c6b9 Update qstrs. 2019-01-27 18:41:30 -05:00
Kwabena W. Agyeman
9edded29da Export color conversion functions to Python. 2019-01-27 22:42:38 +02:00
Kwabena W. Agyeman
3a8ac88f66 Update blob code and examples. 2019-01-27 00:46:15 +02:00
iabdalkader
6babf84a1b Update cpufreq module.
* Support H7.
* Disable this module for M4.
* Pass frequencies in MHz instead of constants.
* Add get_supported_frequencies().
2019-01-19 03:53:43 +02:00
Kaizhi Wong
37906e5867 add tv module 2019-01-15 20:15:59 +08:00
Kwabena W. Agyeman
e7f7a732eb Add alpha blening support to draw image. 2019-01-02 12:33:15 -05:00
Kwabena W. Agyeman
6b11353312 Add mod support to div. 2019-01-02 11:52:56 -05:00
Kwabena W. Agyeman
dbe7bf0591 Add transpose support to replace and aliases
Now you can rotate and image by 0, 90, 180, 270 degrees along with
vertical flip and horizontal mirror. This method works in place or out
of place.
2019-01-02 01:35:34 -05:00
Kwabena W. Agyeman
8bcf5ac0c3 Add gamma correction
A user requested this a while ago. This feature also ads contrast and
brightness correction. The code is fast!
2019-01-01 02:28:40 -05:00
Kwabena W. Agyeman
b47dbe2c15 Kwabena/drawing updates (#422)
* Add ellipse drawing function.
2018-12-31 18:32:13 +02:00
Kwabena W. Agyeman
e97e0a2021 Add MLX support. 2018-09-24 22:58:47 +02:00
iabdalkader
681cef11eb Add pysensor shutdown function. 2018-09-05 17:15:53 +02:00
iabdalkader
f598de860a Add selective search. 2018-06-30 18:30:14 +02:00
Kwabena W. Agyeman
ccbe073861 Add NN search method to be able to deal with multiple scales and
positions.
2018-06-10 22:08:11 -04:00
Kwabena W. Agyeman
8a44f0cd91 Support converting binary images to bitmaps in place.
This is useful for building image masks.
2018-06-04 17:26:35 +02:00
iabdalkader
e1ee5cc22b NN: Add softmax arg. 2018-05-29 18:05:22 +02:00
Kwabena W. Agyeman
ba47e84ec1 Add higher resolutions. 2018-05-29 16:46:26 +02:00
iabdalkader
d151f7e38d NN: Remove hard-coded NNs. 2018-05-25 22:50:28 +02:00
iabdalkader
85267ee276 NN: Add test function.
* Simulates the network without actually calling any functions.
2018-05-23 03:01:01 +02:00
iabdalkader
23993210dd Add initial NN loading code. 2018-05-19 23:50:07 +02:00
Kwabena W. Agyeman
ac2d2fc1cd Update find circles with min and max radius to run faster.
This was a user request.
2018-05-13 19:31:32 -04:00
iabdalkader
f7e691e390 Remove line_filter function. 2018-04-27 02:01:23 +02:00