Commit Graph

272 Commits

Author SHA1 Message Date
iabdalkader
c57caf644a Fix typo in example. 2021-02-13 22:28:42 +02:00
iabdalkader
cc3e4f1522 Add Portenta WiFi examples. 2021-02-13 21:24:33 +02:00
iabdalkader
80d05fdbc3 MQTT library: check for None return from recv().
* Makes it work with different sockets implementations.
2021-02-13 01:09:07 +02:00
iabdalkader
8d68cc4379 Rename examples as requested.
* Fixes #1148
2021-01-31 16:34:01 +02:00
Sebastian Romero
0bbf612d7e
Remove join timeout from example 2021-01-28 18:17:23 +01:00
Sebastian Romero
e2a4521b7b
Use 2 stop bits for the UART connection 2021-01-27 17:38:11 +01:00
Kwabena W. Agyeman
1b36b95521 Improve TV driver resolution, add scaling, and triple buffering 2021-01-22 20:44:24 -08:00
iabdalkader
2d913dc456 Add LoRa library for Arduino Portenta. 2021-01-22 21:46:21 +02:00
iabdalkader
2a190f35c0 Update ulab to 2.1.3 2021-01-22 21:20:03 +02:00
Kwabena W. Agyeman
7689622982
Add support for the MLX90641 (#1117) 2021-01-13 02:35:59 +02:00
Kwabena W. Agyeman
da6c1a6ed9 Add auto scanning and update examples 2021-01-06 16:48:10 -08:00
Ibrahim Abd Elkader
0f2a8d7c53
Merge pull request #1108 from openmv/nano_sensors
NRF: Add sensor drivers to frozen modules.
2021-01-07 01:08:14 +02:00
iabdalkader
66dc9a7c86 Move Arduino examples to separate dirs. 2021-01-07 00:44:59 +02:00
iabdalkader
125107dd0a NRF: Add sensor drivers to frozen modules. 2021-01-07 00:42:06 +02:00
iabdalkader
740ea4f2b8 Add frozen hts221 driver. 2021-01-05 23:47:32 +02:00
iabdalkader
93bbac0bf3 Update ImageIO examples 2021-01-03 00:28:50 +02:00
Kwabena W. Agyeman
fb09395269 Add constants to FIR module 2020-12-30 09:51:14 -08:00
Kwabena W. Agyeman
53f2248b86 Finish refactor of the fir module 2020-12-29 19:45:41 -08:00
Kwabena W. Agyeman
0a29103b43 Update draw_ir to use the new drawing pipeline 2020-12-26 18:53:09 -08:00
iabdalkader
d68bc7c779 Revert FFT ulab example to older API.
* Will not update ulab in this release.
2020-12-06 21:11:57 +02:00
iabdalkader
fecb586bae Update CAN examples. 2020-12-06 20:37:16 +02:00
iabdalkader
55366647ff Update timer tests example. 2020-12-04 01:00:00 +02:00
iabdalkader
ffb58aad11 Remove outdated FIR examples.
* These are broken, they don't scale the image
2020-12-01 16:37:04 +02:00
iabdalkader
873833d777 Fix unit-test failing on disabled functions. 2020-11-30 20:10:59 +02:00
iabdalkader
9d9b2bed85 PORTENTA: Enable Ethernet. 2020-11-27 19:51:24 +02:00
iabdalkader
20587f308e Merge time and utime modules.
* Move clock class to utime module.
* Update all examples to be compatible with utime.
2020-11-27 15:44:39 +02:00
iabdalkader
730eb33de4 Update Audio FFT example.
* Note this works with the newer ulab that's not updated yet.
2020-11-27 01:47:35 +02:00
iabdalkader
7e2df49c5b Update Audio FFT example. 2020-11-27 01:46:23 +02:00
iabdalkader
3f3010cd3d Update unit test. 2020-11-25 20:59:26 +02:00
iabdalkader
25e7b4a2e2 Update unittest to ignore disabled functions. 2020-11-25 19:55:12 +02:00
iabdalkader
73f8a91ba4 Update unit test. 2020-11-25 14:52:02 +02:00
iabdalkader
b86171382a Add Portenta audio examples. 2020-11-20 19:43:58 +02:00
iabdalkader
5a6b4b2f1c Update Examples.
* Move examples to sub dirs.
* Add Arduino examples dir.
2020-11-16 23:03:02 +02:00
iabdalkader
b46ba79557 Update JPEG frame buffer after loading/creating images.
* With this fix the frame buffer will be updated instantly after loading or creating
new images with the copy_to_fb flag set to true.
* There's no need to flush the framebuffer after loading or creating images anymore,
however the sensor (or image) flush() still needs to be called after drawing to see the updates.
2020-11-16 00:54:29 +02:00
Kwabena W. Agyeman
ab6ab896d7 Remove old cifar stuff 2020-11-08 06:46:49 -08:00
Kwabena W. Agyeman
6d4889f1c5 Remove unit test 2020-11-08 06:46:36 -08:00
Kwabena W. Agyeman
1f7da92727 Remove external libraries ulab replaces 2020-11-07 21:37:14 -08:00
Ibrahim Abd Elkader
5660652b1a
Merge pull request #942 from StuartBox/StuartBox/openmv
Added pause parameter to Image_Reader
2020-10-31 22:04:02 +02:00
StuartBox
6e84c06091 Added pause parameter to Image_Reader 2020-10-30 04:14:18 -07:00
Kwabena W. Agyeman
b3f6d4698b Fix unit tests 2020-10-24 12:34:58 -07:00
Ibrahim Abd Elkader
32f8ef3172
Merge pull request #927 from kwagyeman/kwabena/larry_scaling_code
Add new image scaling pipeline
2020-10-19 03:37:20 +02:00
Kwabena W. Agyeman
3439f88241 Add new image scaling pipeline 2020-10-17 14:42:28 -07:00
iabdalkader
f3eaabfff5 Add ExtInt wake-up example. 2020-10-16 19:07:17 +02:00
iabdalkader
ec38ff9ec2 Update ulab example. 2020-08-24 19:25:12 +02:00
iabdalkader
91dac4c7d5 Update deepsleep example. 2020-08-23 18:56:11 +02:00
Kwabena W. Agyeman
61f1c02e32 Add facial recog scripts 2020-07-17 20:51:37 -07:00
iabdalkader
588f79a62b Remove legacy CMSIS-NN code and examples. 2020-07-17 19:56:59 +02:00
Kwabena W. Agyeman
d44c27e373 Add readout control for apriltag tracking 2020-07-04 12:30:15 -07:00
Kwabena W. Agyeman
1e4ab8eed0 Add rtsp support 2020-06-02 22:10:51 -07:00
Ibrahim Abd Elkader
f51f8e180f
Merge pull request #794 from kwagyeman/kwabena/fix_lepton_examples
Fix get stats call order
2020-05-13 01:12:39 +02:00
Ibrahim Abd Elkader
1c02cfed33
Merge pull request #783 from matsondawson/draw_image_bilinear_interp_and_alpha_palletes
draw_image bi-linear interpolation, alpha palettes, and center_image
2020-05-12 19:56:36 +02:00
Kwabena W. Agyeman
0bd4c46750 Fix get stats call order 2020-05-12 10:24:10 -07:00
iabdalkader
ad533135e3 Update MLX90640 scripts. 2020-05-11 14:49:30 +02:00
Matt Dawson
7e83dbb92e Removed negative scaling. Moved texture sample to center of pixel. 2020-05-09 01:13:26 -07:00
Kwabena W. Agyeman
51f141a7ed New readout control code 2020-05-08 21:08:18 -07:00
Matt Dawson
8f8872537b Changed to use fb_alloc_mark, gb_alloc_free_till_mark. Renamed Image hint type and enums. Formatting fixes 2020-05-08 17:31:13 -07:00
Ibrahim Abd Elkader
c1d31ebcc3
Merge pull request #777 from kwagyeman/kwabena/interface_library
New OpenMV Cam RPC Interface Library
2020-05-04 21:26:18 +02:00
Matt Dawson
a94b16a49d draw_image_bilinear_interp_alpha_palletes_and_center_image 2020-05-03 21:24:51 -07:00
Kwabena W. Agyeman
34decd4010 New OpenMV Cam RPC Interface Library 2020-05-03 20:44:13 -07:00
mattdawson
c4bcfd80e4 Change example to generate a palette rather than use pre-created
Also changed to sho the palette at top of screen.
This script wont work until the fixes to filters with y_size < k_size are merged. #764
2020-04-24 18:34:27 +12:00
mattdawson
30383d32b6 Fixed not checking that image is grayscale image for custom palette. Made demo simpler. 2020-04-23 21:58:37 +12:00
mattdawson
91efa307e0 Add custom palettes to draw image with demo 2020-04-23 21:33:01 +12:00
Matt Dawson
414c6e1a51
draw_image performance and negative scaling. (#758)
Improve draw_image performance and negative scaling.
2020-04-22 17:43:14 +02:00
mattdawson
894b76a41c Demo sample for applying palettes with drawimage and smoothing 2020-04-16 11:51:31 +12:00
Kwabena W. Agyeman
c5c9770d3a Improve rotation_correction()
* Optimized code to make it run slightly faster.
* Added fov argument to control the zoom effect better.
* Added perspective correction through 4 point correspondence.
2020-03-04 23:00:59 -08:00
iabdalkader
0cfae6334e Add BGR argument to lcd init. 2020-02-15 19:53:03 +02:00
iabdalkader
2cf751f767 Add ulab example. 2020-02-13 20:26:36 +02:00
iabdalkader
4ff6e6285c Add new DAC example. 2020-02-07 21:04:56 +02:00
iabdalkader
49416a5bc0 Add unit-test to test frozen modules. 2020-02-03 19:42:59 +02:00
iabdalkader
a601cda422 Update unit-tests.
* Update unit-tests to match the values after disabling YUV table.
2020-02-03 19:33:02 +02:00
iabdalkader
a8f00c3177 Fix example typo. 2020-02-02 18:41:45 +02:00
iabdalkader
5a6903e4e6 Update unit tests. 2020-02-01 22:09:04 +02:00
iabdalkader
57d2b38dc6 Update unit-tests. 2020-01-31 18:43:09 +02:00
iabdalkader
df9aaf66d2 Remove old script
* Fixes #669
2020-01-18 18:28:49 +02:00
iabdalkader
63642dd0b5 Fix comment. 2020-01-02 19:42:51 +02:00
iabdalkader
9a90204921 Add timer tests script. 2019-12-17 20:01:03 +02:00
iabdalkader
c4669c8fba Update timer test script to use non-reserved timer. 2019-12-17 19:59:42 +02:00
iabdalkader
1ae2e06ea6 Fix MQTT module to work with SSL sockets. 2019-12-08 00:47:49 +02:00
iabdalkader
4e0e583f5d Update fw_update comments. 2019-12-01 20:26:36 +02:00
iabdalkader
be700a082b Update script comments. 2019-12-01 20:24:02 +02:00
iabdalkader
288127c575 Update WiFi firmware update script. 2019-11-08 03:10:39 +02:00
王开智
3ccc7ed0e8
Create modbus_apriltag.py 2019-11-04 19:40:17 +08:00
王开智
c5cdf92ad1
Update modbus_rtu_slave.py 2019-11-04 19:36:22 +08:00
王开智
f38dcc3505
Update modbus.py
add more check
2019-11-04 19:32:41 +08:00
iabdalkader
cb241b0874 Increase face_detection contrast. 2019-11-02 22:06:49 +02:00
Ibrahim Abd Elkader
2f9171c05a
Merge pull request #636 from openmv/add_openrv
Add OpenRV library.
2019-11-01 19:30:23 +02:00
iabdalkader
41668d8db2 Add OpenRV library. 2019-11-01 19:04:20 +02:00
Jarek Jurasz
d3a9a06ef3 Default CAN baudrate is 125 kbps 2019-11-01 17:34:47 +01:00
Kwabena W. Agyeman
99fbb53100 Add where models are. 2019-10-30 00:30:18 -07:00
Kwabena W. Agyeman
bcebe2cde2 Add mobilenet script examples
Yes, mobilenet runs ont the OpenMV Cam now. It's midly interesting,
however, it's really not meant to be used by itself.
2019-10-30 00:25:41 -07:00
Kwabena W. Agyeman
1f96550385 Reuse Code
Just trying to optimize things since flash is now not unlimited anymore.
2019-10-30 00:22:12 -07:00
iabdalkader
8ebd6ea431 Update HelloWorld example. 2019-10-28 22:32:10 +02:00
iabdalkader
6693172856 Add native code emitters example. 2019-10-28 19:38:53 +02:00
Ibrahim Abd Elkader
74876892f6
Merge pull request #628 from openmv/freq_scaling_updates
Freq scaling updates
2019-10-28 18:37:03 +02:00
iabdalkader
2772bc48cf Update cpufreq example. 2019-10-28 18:13:12 +02:00
王开智
706e4118fe
light example for light shield 2019-10-27 15:03:25 +08:00
iabdalkader
eaba383965 WINC1500: Update HTTP/HTTPS client examples. 2019-10-25 23:18:49 +02: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
6ebeba5ebc Update CUBE-AI example.
* Add link to README.
2019-10-19 19:10:47 +02:00
iabdalkader
11699c860a Move CUBE-AI example to IDE examples. 2019-10-18 21:23:18 +02:00
iabdalkader
cdb4712f03 Update ADC examples. 2019-10-11 20:40:28 +02:00
iabdalkader
ee5d704016 Move Arduino examples in a new directory. 2019-10-07 19:44:30 +02:00
iabdalkader
1e42f12e5d Update comment. 2019-10-02 14:29:03 +02:00
iabdalkader
f04b18fe6f Update examples.
* Add Arduino UART example.
* Update Arduino SPI example to use callbacks.
* Remove printf from timer_control.py callback.
* Add PWM channel 3 and servo 3 to pwm and servo examples.
2019-09-30 17:17:44 +02:00
iabdalkader
06ddb4dacc Add CAN example script. 2019-09-16 17:45:25 +02:00
Ibrahim Abd Elkader
61a34a4a62
Merge pull request #588 from openmv/mqtt_fixes
Mqtt fixes
2019-09-12 00:27:21 +02:00
iabdalkader
77c20412a8 Update MQTT publish example and add MQTT subscribe example. 2019-09-12 00:13:59 +02:00
iabdalkader
76239ea89f Update MQTT library. 2019-09-12 00:12:09 +02:00
iabdalkader
e7aa95cc56 Update mjpeg_streamer script. 2019-09-12 00:11:03 +02:00
Ibrahim Abd Elkader
30f018e99b
Merge pull request #549 from kidswong999/patch-1
Add PID library.
2019-09-06 15:53:59 +02:00
王开智
f813bd161d
add a small example 2019-09-06 10:20:40 +08:00
iabdalkader
60632e84cf WIFI: Add static IP example. 2019-08-26 11:51:07 +02:00
iabdalkader
16671e4e11 Update script comments. 2019-07-10 00:31:09 +02:00
王开智
c7e0a717b6
Create pid.py 2019-07-09 16:25:57 +08:00
王开智
b84d4fc5a5 Add modbus library 2019-06-13 14:59:05 +02:00
nezra
af5eb0cc4c
Update ssd1306.py 2019-05-17 18:50:48 -04:00
iabdalkader
6cf9a9ed2d Add note to SPI example. 2019-04-24 22:14:07 +02:00
iabdalkader
434ed01b80 Add SSD1306 OLED driver. 2019-04-20 00:30:00 +02:00
Randy Mackay
eba57709f3 mavlink_opticalflow: add green flashing LED 2019-04-05 09:08:15 +09:00
Randy Mackay
bb5f910e9e mavlink_opticalflow: always send flow packets regardless of quality
the flight controller performs best if it has regular updates
2019-04-05 09:08:15 +09:00
Randy Mackay
b60bec96cf mavlink_opticalflow: fix scaling and direction 2019-04-05 09:08:10 +09:00
iabdalkader
4d580033f2 Fix NN unittest. 2019-04-01 00:27:12 +02:00
iabdalkader
3f8df7178f Fix unit tests. 2019-03-30 17:44:31 +02:00
王开智
780fdc5870
example for tv shield 2019-03-30 11:53:10 +08:00
Ibrahim Abd Elkader
5fc022718b
Merge pull request #496 from kidswong999/patch-5
distance shield example
2019-03-29 17:54:39 +02:00
王开智
94075dd3fd
distance shield example 2019-03-29 22:40:35 +08:00
王开智
4158ee89cc
imu shield example 2019-03-29 22:26:51 +08:00
王开智
4759335a51
bno055 lib for imu shield 2019-03-22 15:27:44 +08:00
Ibrahim Abd Elkader
bfca0bb891
Merge pull request #476 from kidswong999/patch-2
fixed class name
2019-03-12 02:34:04 +02:00
Kwabena W. Agyeman
4f0e628bb0 Add lepton examples. 2019-03-11 20:15:48 +02:00
王开智
2a8d54aad7
fixed class name
VL53L0X => VL53L1X
2019-03-11 13:47:22 +08:00
iabdalkader
54e431adb2 Implement MT triggered mode using ioctls 2019-03-04 20:55:17 +02:00
Kwabena W. Agyeman
69d71a7015 Add examples 2019-03-03 22:57:25 -05:00
iabdalkader
421b5ddb41 Update USB VCP example. 2019-02-18 23:34:09 +02: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
ee321933d2 Update ellipse drawing without limit. 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
3a8ac88f66 Update blob code and examples. 2019-01-27 00:46:15 +02:00
王开智
634167a873
Create vl53l1x.py
a micropython driver for vl53l1x, it works perfect.
2019-01-22 17:08:28 +08:00
iabdalkader
6f597a107c Update CPU frequency scaling example. 2019-01-19 03:56:35 +02:00
Kwabena W. Agyeman
0554c189a9 Add back the ability for draw keypoints to handle keypoint tuples.
Can call it without a keypoint object now again.
2019-01-04 00:32:27 -05:00
Kwabena W. Agyeman
3e05d24ce9 Don't require self if operating on self. 2019-01-02 12:13:01 -05:00
Kwabena W. Agyeman
96fb350848 Add negate example. 2019-01-02 01:55:38 -05:00
Kwabena W. Agyeman
7d8ae6f9ba Add new code example 2019-01-02 01:52:33 -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
iabdalkader
cf60075ce7 Add micro-linalg library. 2018-12-22 20:37:06 +02:00
kidswong999
05b1e62104 add tb6612 library, DC motor and stepper example 2018-11-05 20:39:23 +08:00
iabdalkader
e230837f47 Remove ssid/key from example script. 2018-11-04 02:40:30 +02:00
iabdalkader
7997d02e52 Add VSYNC GPIO output example. 2018-11-02 00:19:04 +02:00