From b237be596efbeff68db1d26a383a547630f54663 Mon Sep 17 00:00:00 2001 From: Brian Plancher Date: Sun, 25 Sep 2022 15:46:58 -0400 Subject: [PATCH 1/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f13210..5137e35 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Source code and examples for using and testing your Tiny Machine Learning Kit an This library also includes: 1) A modified verison of the 0.0.2 version of the OV767X Library for Arduino (Copyright (c) 2020 Arduino SA) which is based on [Linux Kernel](https://www.kernel.org) V4L2 driver for OmniVision OV7670 cameras - which was created by Jonathan Corbet. -2) Modified examples from the 2.4.0-Alpha version of the TensorFlow_Lite for Microcontrollers Library. (Copyright (c) 2021 TensorFlow Team at Google) [https://www.tensorflow.org/lite/microcontrollers](https://www.tensorflow.org/lite/microcontrollers) +2) Modified examples and a packaged version of the 2.4.0-Alpha version of the TensorFlow_Lite for Microcontrollers Library. (Copyright (c) 2021 TensorFlow Team at Google) [https://www.tensorflow.org/lite/microcontrollers](https://www.tensorflow.org/lite/microcontrollers) == License == From 13d027484cbb55abdb650c13555303d1c547dbba Mon Sep 17 00:00:00 2001 From: Brian Plancher Date: Sun, 2 Oct 2022 11:41:32 -0400 Subject: [PATCH 2/7] Update library.properties --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index ab88a04..e6f7b14 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Harvard_TinyMLx -version=1.1.0-Alpha +version=1.2.1-Alpha author=TinyMLx Authors maintainer=Brian Plancher sentence=Supports the TinyML edX Course and TinyML Shield. From f05a4cc0e721644c8512e61cab68ea02d715c4fa Mon Sep 17 00:00:00 2001 From: Colby Banbury Date: Mon, 3 Oct 2022 11:49:39 -0400 Subject: [PATCH 3/7] bug fix for the camera capture example --- extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino b/extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino index ff641d8..2ca0558 100644 --- a/extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino +++ b/extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino @@ -12,13 +12,13 @@ int bytesPerFrame; -byte data[176 * 144 * 2]; // QVGA: 320x240 X 2 bytes per pixel (RGB565) +byte data[176 * 144 * 2]; // QCIF: 176x144 X 2 bytes per pixel (RGB565) void setup() { Serial.begin(9600); while (!Serial); - if (!Camera.begin(QVGA, RGB565, 1, OV7675)) { + if (!Camera.begin(QCIF, RGB565, 1, OV7675)) { Serial.println("Failed to initialize camera!"); while (1); } @@ -33,4 +33,4 @@ void loop() { Camera.readFrame(data); Serial.write(data, bytesPerFrame); -} +} \ No newline at end of file From 901de3e83ac640b943c0be80ba7baa4631b9afbc Mon Sep 17 00:00:00 2001 From: Brian Plancher Date: Mon, 3 Oct 2022 14:21:58 -0400 Subject: [PATCH 4/7] Update library.properties --- library.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library.properties b/library.properties index e6f7b14..7fa4ac8 100644 --- a/library.properties +++ b/library.properties @@ -1,11 +1,11 @@ name=Harvard_TinyMLx -version=1.2.1-Alpha +version=1.2.2-Alpha author=TinyMLx Authors maintainer=Brian Plancher sentence=Supports the TinyML edX Course and TinyML Shield. -paragraph=This library supports the TinyML Shield and provides examples that suppor the TinyML edX course. The examples work best with the Arduino Nano 33 BLE Sense board and the Tiny Machine Learning Kit from Arduino. It also includes a modified version of the Arduino_OV767X library version 0.0.2 and a fork of the TensorFlow_Lite version 2.4.0-Alpha +paragraph=This library supports the TinyML Shield and provides examples that suppor the TinyML edX course. The examples work best with the Arduino Nano 33 BLE Sense board and the Tiny Machine Learning Kit from Arduino. It also includes a modified version of the Arduino_OV767X library version 0.0.2 and a fork of the TensorFlow_Lite library version 2.4.0-Alpha category=Sensors -url=http://www.tinymlx.org +url=http://www.tinymledu.org includes=TinyMLShield.h,TensorFlowLite.h ldflags=-lm architectures=mbed_nano From 1b0a6f71398d551ee6431bd992dc06553287b287 Mon Sep 17 00:00:00 2001 From: ShawnHymel <5232145+ShawnHymel@users.noreply.github.com> Date: Sat, 24 Dec 2022 10:58:02 -0600 Subject: [PATCH 5/7] Fixed bytesPerPixel/bitsPerPixel functions to return correct value for grayscale mode --- src/OV767X_TinyMLx.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/OV767X_TinyMLx.cpp b/src/OV767X_TinyMLx.cpp index c89ffc7..f60ecc4 100644 --- a/src/OV767X_TinyMLx.cpp +++ b/src/OV767X_TinyMLx.cpp @@ -198,12 +198,20 @@ int OV767X::height() const int OV767X::bitsPerPixel() const { - return _bytesPerPixel * 8; + if (_grayscale) { + return 8; + } else { + return _bytesPerPixel * 8; + } } int OV767X::bytesPerPixel() const { - return _bytesPerPixel; + if (_grayscale) { + return 1; + } else { + return _bytesPerPixel; + } } // From 6b54b970cfce15d69bcdc16a1953241528bd7537 Mon Sep 17 00:00:00 2001 From: Brian Plancher Date: Thu, 29 Dec 2022 20:51:29 -0500 Subject: [PATCH 6/7] Update library.properties --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 7fa4ac8..e6c686c 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Harvard_TinyMLx -version=1.2.2-Alpha +version=1.2.3-Alpha author=TinyMLx Authors maintainer=Brian Plancher sentence=Supports the TinyML edX Course and TinyML Shield. From b6f4826a3e170d20c1522a794d601e3bd3f65104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?aar=C3=B3n=20montoya-moraga?= Date: Sun, 5 Feb 2023 03:44:19 -0300 Subject: [PATCH 7/7] fix typo support was missing its "t" --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index e6c686c..d36d498 100644 --- a/library.properties +++ b/library.properties @@ -3,7 +3,7 @@ version=1.2.3-Alpha author=TinyMLx Authors maintainer=Brian Plancher sentence=Supports the TinyML edX Course and TinyML Shield. -paragraph=This library supports the TinyML Shield and provides examples that suppor the TinyML edX course. The examples work best with the Arduino Nano 33 BLE Sense board and the Tiny Machine Learning Kit from Arduino. It also includes a modified version of the Arduino_OV767X library version 0.0.2 and a fork of the TensorFlow_Lite library version 2.4.0-Alpha +paragraph=This library supports the TinyML Shield and provides examples that support the TinyML edX course. The examples work best with the Arduino Nano 33 BLE Sense board and the Tiny Machine Learning Kit from Arduino. It also includes a modified version of the Arduino_OV767X library version 0.0.2 and a fork of the TensorFlow_Lite library version 2.4.0-Alpha category=Sensors url=http://www.tinymledu.org includes=TinyMLShield.h,TensorFlowLite.h pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy