Commit Graph

123 Commits

Author SHA1 Message Date
iabdalkader
c514d356a8 tools/tflite2c: Add default optimization for user models. 2024-08-17 19:55:40 +03:00
iabdalkader
4e3ec807f2 tools/tflite2c: Set Vela optimization per model. 2024-08-17 18:37:34 +03:00
iabdalkader
44bf1f7d5b tools/pyopenmv: Display image size and format. 2024-08-06 10:55:52 +03:00
iabdalkader
48d2f8ddf5 tools/pyopenmv: Misc fixes.
* Add scale arg.
* Fix RGB565 byte order.
2024-08-05 13:34:15 +03:00
iabdalkader
ae88fc46c5 tools/pyopenmv_fb: Add benchmark mode. 2024-08-03 16:29:12 +03:00
iabdalkader
433e57bf70 tools/pyopenmv_bench: Add util benchmark script. 2024-08-03 15:49:31 +03:00
iabdalkader
0cb4325119 tools/pyopenmv: Return raw frame size for throughput calculations. 2024-08-03 15:49:01 +03:00
iabdalkader
844329a886 tools/pyopenmv: Use a separate clock for FPS and loop.
Lowers CPU usage while getting accurate FPS.
2024-08-03 15:38:06 +03:00
iabdalkader
8b4cc08400 tools/pyopenmv: Fix arch string. 2024-08-03 12:04:04 +03:00
iabdalkader
074252dc8d misc/github: Fix workflows. 2024-07-25 12:28:29 +03:00
iabdalkader
c77ef7f96a misc/github: Post firmware stats after PRs. 2024-07-24 18:05:48 +03:00
iabdalkader
d7042349b5 tools/tflite2c: Support converting Vela models on the fly. 2024-07-23 10:40:39 +03:00
iabdalkader
b3b2cb0349 tools/pyopenmv: Update GET_STATE command. 2024-07-16 14:17:11 +03:00
iabdalkader
6d372067a3 tools/pyopenmv.py: Implement the GET_STATE command. 2024-07-09 19:25:04 +03:00
iabdalkader
8e10020da1 tools/tflite2c: Fix model data alignment. 2024-06-28 19:04:36 +02:00
iabdalkader
76a17f81c9 tools/tflite2c.py: Update built-in model generator script.
Add support embedding models conditionally using the index file. Models listed
in `models/index.txt` will be generated with an enable macro, which can be defined
per board in `imlib_config.h` files. Other models in models/ will be built-in by
default.
2024-06-28 16:32:04 +02:00
iabdalkader
71cce62135 tools: Add tflite model hash tool. 2024-02-25 18:24:10 +01:00
iabdalkader
8b2ba4bfc8 tools/pyopenmv_fb: Fix pygame FB test script. 2024-02-17 12:58:43 +01:00
iabdalkader
801cb29d6c misc: Update to Arm GNU Toolchain 13.2.rel1. 2024-01-17 10:47:09 +02:00
iabdalkader
a1a98622c3 misc: Update firmware workflow for upload/download v4. 2023-12-26 18:55:21 +01:00
Kwabena W. Agyeman
3888869f46 tools/rpc: Remove person detection code. 2023-12-23 13:31:09 -08:00
iabdalkader
2acb2d9b1c misc: Update code formatting.
Allow one liner enum.
2023-09-23 19:58:05 +02:00
luzpaz
a1582e917a
misc: Fix various typos (#1931)
misc: Fix various typo in scripts.

Found via `codespell -q 3 -S "*.pgm,*.ppm" -L als,dout,extint,hsi,ois,ser,serie`
2023-09-15 19:10:53 +03:00
iabdalkader
456b966235 tools: Fix code formatter config. 2023-09-08 19:34:23 +02:00
iabdalkader
973b7db0da tools: Update code formatting.
* Disable PP define alignment.
2023-09-08 19:24:18 +02:00
iabdalkader
d2e6b4f787 tools: Add imxrt firmware tools. 2023-07-04 17:18:19 +02:00
iabdalkader
12e0805a56 github: Add code formatting workflow and tools. 2023-07-02 16:42:11 +02:00
iabdalkader
a7033e1b3a ports/mimxrt: Add MIMXRT OMV port. 2023-06-28 22:53:03 +02:00
iabdalkader
fe9b697a2e tools: Update pyopenmv_test.py. 2022-11-09 18:00:31 +01:00
iabdalkader
0adc701c73 docs: Fix typo. 2022-04-13 09:45:05 +02:00
iabdalkader
23df7c73bc github: Enable caching workflow dependencies.
* Use cache for GNU Arm Embedded Toolchain.
2022-02-20 00:10:05 +02:00
iabdalkader
9de1f50a65 Libtf: Add support for replacing/adding built-in models. 2022-02-08 02:10:16 +02:00
iabdalkader
334238d39f Add GitHub workflows.
* Test every pull request without generating artifacts.
* Create/Update development releases with artifacts on every push to master.
* Create release drafts with artifacts on pushed tags that match "v*.*.*".
2022-02-04 17:48:31 +02:00
Kwabena W. Agyeman
a2f016ba09 Rename class that uses the network stream 2021-10-16 21:51:43 -07:00
iabdalkader
a8858c9d0e RP2: Update Audio module.
* Use a configurable number of PCM buffers in a queue to avoid overflows.
* Add option to configure whether to use pendsv or mp_scheduler for Python callbacks.
* Streaming can be started without a callback and get_buffer() returns a single buffer from the queue.
* Add precomputed LUT for lib OpenPDM stored in flash (saves about 500uS per conversion).
* Overflow detection and configurable abort on overflow.
* Remove fixed DMA channel.
2021-08-21 01:29:10 +02:00
iabdalkader
fc503793c9 Add tools and bootloaders 2021-08-12 02:21:12 +02:00
iabdalkader
f9a78b30bf pyopenmv.py Add reset to bootloader. 2021-08-01 18:26:17 +02:00
iabdalkader
ee8775c76c Update TCP client test. 2021-07-29 14:12:54 +02:00
iabdalkader
a076fc79b8 RP2: Support jump to bootloader command.
* Add picotool binary.
* Support jump to bootloader command.
* MSC interface is disabled on jump to boot.
2021-07-06 20:42:57 +02:00
iabdalkader
6197e552a6 Update uncrustify config. 2021-06-24 19:59:12 +02:00
iabdalkader
2199a776ad Add uncrustify config and code formatting script. 2021-06-24 19:38:50 +02:00
Kwabena W. Agyeman
dda33be809 Cleanup imlib unused methods 2021-03-29 10:34:09 -07:00
iabdalkader
aeb7539cfa Update license date. 2021-02-14 16:47:45 +02:00
iabdalkader
3c35ae8360 Update test TCP client. 2021-02-11 20:04:20 +02:00
Kwabena W. Agyeman
68c29acfcc Fix issue with an old version of pygame 2021-01-28 21:28:33 -08:00
iabdalkader
690a39c0cb Use interpolated LAB table.
* Saves about 100KBs.
2021-01-21 22:53:28 +02:00
iabdalkader
76b6eafd9b Update util script. 2021-01-20 23:43:11 +02:00
iabdalkader
6265a4d81b Add dfu-util 2020-12-29 15:23:58 +02:00
iabdalkader
0774f8d159 Add USB VCP test script. 2020-12-02 15:56:16 +02:00
iabdalkader
b652e6625a Update reference USB descriptors. 2020-11-30 20:31:36 +02:00
Kwabena W. Agyeman
3173c2bb34 Remove shadow removal code 2020-10-29 09:40:23 -07:00
Kwabena W. Agyeman
2528eb6355 Remove byte reversal in RGB565 tables 2020-10-22 22:20:25 -07:00
Kwabena W. Agyeman
76bb394453 Remove RGB to RGB table 2020-10-22 22:20:15 -07:00
Kwabena W. Agyeman
b2c7d367a9 Add UART and CAN support to desktop interface library 2020-09-09 21:27:23 -07:00
Kwabena W. Agyeman
b5b6fec019 Fix Python2/3 Errors 2020-05-12 12:24:13 -07:00
Kwabena W. Agyeman
9414031aac Fix typos in readmed 2020-05-11 13:42:53 -07:00
Kwabena W. Agyeman
34decd4010 New OpenMV Cam RPC Interface Library 2020-05-03 20:44:13 -07:00
iabdalkader
d40f9985b4 Add reference USB descriptors for testing. 2020-01-28 14:37:10 +02:00
iabdalkader
77b82d3b76 Update debugging protocol to be more consistent.
* All commands now send a 6-bytes header followed by the payload in a separate packet.
2020-01-21 20:12:20 +02:00
iabdalkader
5fa9ff10c5 Add jlink GDB server bash script. 2019-12-26 18:40:20 +02:00
iabdalkader
54b8132949 License update. 2019-09-05 22:17:50 +02:00
Evan Krell
a6ecab7027
pyopenmv extended to support multiple cameras
Instead of a single global '__serial', this version has a list of them. Another list has just the port name. The two lists are parallel in that the index of one corresponds to the index of the other. So, any serial can be accessed by  searching for the port name.

I have been using this version for combining multiple cameras for OpenCV processing. Perhaps others will find it useful.
2019-05-16 18:55:11 -05:00
iabdalkader
be9fb58b68 Update rainbow generator script. 2019-03-05 16:11:17 +02:00
iabdalkader
ec7bca0a3d Update openmv Python module.
* Make it work with Python2/3
* Fix command line args.
* Fix pygame key events handling.
2018-11-10 02:32:12 +02:00
iabdalkader
edf5a9fbf3 Fix typo. 2018-11-05 21:28:24 +02:00
Kwabena W. Agyeman
10370fa9ce NN: Add script to create labeled images. 2018-10-11 18:06:18 +02:00
iabdalkader
2f6c871e31 Add objfind util script. 2018-07-12 23:11:38 +02:00
iabdalkader
3ed8a9a406 Add util image scripts. 2018-06-25 01:34:00 +02:00
iabdalkader
9d6f753be7 Update pyopenmv scripts 2018-05-25 21:08:40 +02:00
iabdalkader
d282e92857 Move pyopenmv to /tools 2018-05-25 21:05:27 +02:00
iabdalkader
e8008a7d07 Make tools/scripts executable. 2018-05-25 20:42:25 +02:00
iabdalkader
252eac956d Move pydfu.py to /tools 2018-05-25 20:34:10 +02:00
iabdalkader
b3e1ab1fba Move util->tools 2018-05-25 20:33:50 +02:00