บทความนี้กล่าวถึงการคำนวณค่าถดถอย (Regression) ด้วยภาษาไพธอนของ MicroPython โดยใช้บอร์ดไมโครคอนโทรลเลอร์ ESP32-C3 พร้อมทั้งแสดงผลด้วยจอแสดงผลกราฟิกแบบ 2 สี (แสดงกับไม่แสดงเม็ดสี) แบบ OLED ดังภาพที่ 1 ซึ่งค่าที่นำมาใช้เป็นตัวอย่างในการใช้งานเป็นค่าที่ได้จากการอ่านอุณหภูมิ
Read MoreTag: AI
[EN] QRCode Detected!
This article describes how to use OpenCV to find QRCode from an image from a Web Camera connected to the Raspberry Pi via a USB port. The example contains an example of reading the results from a web camera. And exit the program by pressing the ESC key, the QRCode search example and decoding the text within the image and storing the result in the image file.
Read More[EN] Speech to Text & Text to Speech
This article is an example of python implementation to call a speech-to-text service, then send a message to Google’s text-to-speech service to generate and return an mp3 audio file, and finally, use pygame to play the speech out of the speaker. It runs on the Windows operating system.
Read More[EN] ulab EP 8 poly, fft and filter
EP 8 is the final part ulab series, a mathematical library that can be used for AI. This chapter discusses the poly, fft, and filter submodules which explain how each function works with examples of usage to guide for further application.
Read More[EN] ulab EP 7 approx
EP 7 of the ulab library series deals with the approx submodule used for approximation of numbers, function results or find the root of a function using bisect or newton method and trapz determination. In this article, we discuss the roles of each function and how to use them and sample programs as a guideline for further study and application.
Read More[EN] ulab EP 5 numerical
บThe ulab EP 5 discusses the numerical submodule used to calculate the minimum, maximum, sum, mean, and standard deviation. Enable convenience for working in calculating preliminary statistics. The article describes the functionality of the numerical submodule with an example program to illustrate how it works.
Read More[EN] ulab EP 4 linalg
EP 4 of the ulab library is about the linalg submodule used for linear algebra calculations which is applied to solve linear problems. And it is a tool to predict or study the nature of what happens in a linear way. This article discusses the functions of the linalg submodule and some basic usage examples.
Read More[EN] ulab EP3 vector
This article which is about ulab EP 3 discusses the ulab vector submodule used for arithmetic as well as the MicroPython math library. The content contains the functions that ulab supports on the ESP32 and ESP8266, along with the descriptions of functions.
Read More[EN] ulab EP2 array
From ulab EP 1, we have installed and used ulab for a bit to see how it works. This article discusses the array that can be used to create more variety of 1D and 2D arrays. Along with usage examples, this EP will add more about the different operators that are used with the generated arrays.
Read More[EN] ulab EP1 Getting Started
For ESP8266’s MicroPython to perform mathematical calculations like using Python’s numpy library, MicroPython with ulab must be installed. You can download firmware for ESP8266 HERE. For normal ESP32 and with additional PSRAM (SPIRAM).
This article is an introduction to ulab and an overview of the libraries within ulab for further application.
Read More