MaixPy Versions Save

Easily create AI projects with Python on edge device

v4.1.2

2 weeks ago

MaixPy

New features

  • Add audio record play
  • Add video record
  • Add PWM support
  • Add RTSP support
  • Add image.to_jpeg(quality) API

Bug fix

  • Compress image error when second open program
  • UART find_devices can not get anything bug
  • MaixVision code completion error

System

  • Support PWM
  • Auto resize space to fit TF card on boot
  • set DNS by default in /boot/resolv.conf, remove it if you want to use auto DNS server by gateway

v4.0.11

1 month ago

MaixPy

New features

  • Add WiFi API
  • display.show's fit arg now default to FIT_CONTAIN

Bug fix

  • yolov5 load one label always failed issue

System

  • Update APP Store support MaixHub scan download install.
  • Update Settings APP:
    • support backlight setting
    • support auto start APP setting
    • optimize Power setting
    • optimize WiFi connect
  • Classifier APP now display as squre
  • Optimize system start speed, now faster
  • Add error hint when bootup init display failed

v4.0.10

1 month ago

First release

attention, this is a beta version, some API may have changes in ther future

other download links: https://sourceforge.net/projects/maixpy/files/v4.0.10/

v0.6.2

3 years ago

download at : https://dl.sipeed.com/shareURL/MAIX/MaixPy/release/master

Update since tag v0.4.0:

New feature

KPU

  • Support kmodel V4(nncase v0.2.0 beta4), you need to call kpu.setoutputs(obj, out_layer, w, h, ch) to set output shape before kpu.forward
  • Add load_flash support (load big model but slowlly)
  • Add 1 dimension input support( list)
  • Add classifier module

vision

  • Add UTF-8 customize font support, load_font & draw_font & draw_string
  • Support image.draw_image transparent mixed (Transparency from black to white)
  • Improved font effect of openmv image.font
  • Add OV5640 and GC2145 partially function support

Others

  • Add ulab module
  • Add lodepng module(for lvgl)
  • Sensor dual buffer
  • Add sensor.set_jb_quality(q) for IDE image quality
  • Add Maix.utils.flash_read API
  • Mic-Array IO pin supports custom configuration
  • Add maix_config for different board use one firmware, allow lcd/sensor/sdcard remapping pins in config.json
  • Support ussl(https)
  • Support WDT (watchdog timer)
  • fm.fpioa.set_function args now allow set_io_driving & set_sl & set_st
  • Support software i2c & spi
  • Add SpeechRecognizer(Now Refactor to speech)
  • Refactor NES module support nes.input() & nes.loop()
  • WS2812 add ws_num() get ws2812 config number.
  • Speech add speech_isolated_word support maix bit/dock/duino/etc.
  • Network add wiznet5k support
  • Improve image.rotation_correction()
  • Support onewire

Optimize

  • Remove LCD font, now use image's font
  • Optimize IDE script execute, and change to file mode instead of REPL mode
  • Make built in py files configuable, revemo pye in minimum firmware by default
  • Optimize I2C slave code
  • Make sensor.set_windowing() center align
  • Change KPU error code to string message
  • MaixPy boot speed up!

BUG fix

Vision

  • Fix image.to_grayscale bug
  • Fix lcd.draw_string color bug
  • OV7740 hmirror error(soft fix)
  • Fix bmp image load error
  • Fix lcd init uninitialized variables cause image misalignment

Others

  • Fix time.time() error (RTC hardware bug)
  • time.time() now start from 2000.1.1 00:00:00, the same as micropython
  • Fix wave audio play bug
  • Pull up io16 in main.py
  • Fix kpu.conv3 bug
  • Fix thread gc collect bug
  • Fix kpu.deinit bug, and auto collect bug
  • Fix ESP8285/ESP32 network layer communication
  • Fix GPIOHS can't read after write
  • Fix can't play avi for self record.
  • Fix conflicts between SDCard and ESP32 on Maixduino.

v0.6.1

3 years ago

v0.4.0

4 years ago

v0.3.2

5 years ago

New Features

  • Compress JPEG in second core, increase FPS in IDE mode
  • Optimize find lines speed
  • Add WiFi scan(#71)

API Changes

  • remove cpufreq module, add Maix.freq module, now can change CPU and KPU freq max to 600MHz, see doc (#72)

Bug Fix

  • Fix audio(wav) play bug
  • Fix image.resize() alloc size(#69)
  • Fix mic array too slow problem(#62)
  • FIx bug gc free error when stop script from IDE
  • fix uart iqr re-entrant error (#74)

v0.3.1

5 years ago

New Features

  • Add file transfer support for MaixPy IDE
  • Add machine.reset()

Fix

  • Fix os.getcwd() return value error
  • Clear file when open file with "w" mode
  • Fix img.get_statistics() memory align error

Docs

maixpy.sipeed.com

Firmware Download

dl.sipeed.com or assets below


New Features

  • Add file transfer support for MaixPy IDE
  • Add machine.reset()

Fix

  • Fix os.getcwd() return value error(#49)
  • Clear file when open file with "w" mode
  • Fix img.get_statistics() memory align error(#55)

Docs

maixpy.sipeed.com

Download

Firmware and model

dl.sipeed.com or assets below

  • maixpy_v0.3.1_full.bin: firmware with full function
  • maixpy_v0.3.1_no_lvgl.bin: firmware with no littlvgl support
  • maixpy_v0.3.1_minimum.bin: firmware with minimum function support
  • face_model_at_0x300000.kfpkg: face detect model at flash adrees 0x300000, burn it with kflash(This file contains only the model. Burning this file will not cause the firmware in flash to be overwritten.)

MaixPy IDE


新特性

  • 为 MaixPy IDE 增加文件传输和脚本保存的功能
  • 增加硬件复位功能: machine.reset()

修复

  • 修复 os.getcwd() 返回值问题(#49)
  • 当文件以 "w" 模式打开时,清除文件所有内容
  • 修复 img.get_statistics() 出现的内存对齐错误(#55)

文档

maixpy.sipeed.com

下载

固件下载

dl.sipeed.com 或者下面的 assets 下载

  • maixpy_v0.3.1_full.bin: 全功能版本固件
  • maixpy_v0.3.1_no_lvgl.bin: 不包含 littlvgl 的固件
  • maixpy_v0.3.1_minimum.bin: 最小功能的固件
  • face_model_at_0x300000.kfpkg: 将会烧录到flash地址0x300000的人脸检测模型,使用kflash烧录。(此文件只包含模型,烧录此文件不会导致flash里面的固件被覆盖)

MaixPy IDE 下载


v0.3.0

5 years ago

New Features

  • Adapt for OpenMV IDE( Can not use the original version, in order to adapt MaixPy, there are modifications to the IDE source code)
  • Add UART.any()
  • Add get REPL UART object by UART.repl_uart(), e.g. : change baud rate to 1.5M:
from machine import UART

repl = UART.repl_uart()
repl.init(1500000, 8, None, 1, read_buf_len=2048)
  • Add set REPL UART, by UART.set_repl_uart(obj), the obj is UART object, the old one will be delete automatically(default REPL UART is UARTHS)

API Changes

  • Remove clock module, move clock.clock() to time module, remove clock.sleep() function, you MUST use time.sleep_ms(n) to sleep n ms, time.sleep(n) means sleep n s, It's different with OpenMV's!
  • Auto run sensor after sensor reset, you can stop sensor by sensor.run(0)
  • Remove : rewrite boot.py in _boot.py when BOOT key pushed down on power up
  • Create Board_Info object as var board_info in board.py, use it by:
from board import board_info
print(board.BOOT_KEY)

the same as fpioa_manager

from fpioa_manager import fm
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)

or just import from fpioa_manager

from fpioa_manager import fm, board_info
print(board.BOOT_KEY)
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)

Fix

  • Fix touchscreen module compile error when not select it in makefile

Download

Docs

maixpy.sipeed.com


新特性

  • 适配 OpenMV IDE (OpenMVP官方IDE不能使用, 为了适配 MaixPy 对 IDE 源码有修改)
  • 添加UART.any() 函数
  • 增加 获取 交互串口对象(REPL UART object) 的方法: UART.repl_uart(), 比如:修改波特率位 1.5M:
from machine import UART

repl = UART.repl_uart()
repl.init(1500000, 8, None, 1, read_buf_len=2048)
  • 增加 重新设置串口对象的接口, 通过 UART.set_repl_uart(obj) 来修改,obj 参数 是一个 UART对象,旧的使用在 REPL 上的串口对象将会被自动销毁(开机 REPL默认使用的串口是 UARTHS)

API 改动

  • 移除了 clock 模块,因为它看起来比较奇怪,把 clock.clock() 函数移到了 time 模块,删除了 clock.sleep() 函数, 如果需要延时 n 毫秒请使用 time.sleep_ms(n)time.sleep(n) 只用来延时 n 秒, 注意这是和 OpenMV 不同的地方
  • 在摄像头初始化后(sensor.reset) 会自动启动运行,不需要再调用 sensor.run(1),当然可以调用 sensor.run(0) 来停止运行
  • 删除了开机按下 BOOT 键会重新刷写 boot.py 的功能
  • board.py 中新建了一个 Board_Info 对象: board_info,所以使用它如下:
from board import board_info
print(board.BOOT_KEY)

fpioa_manager 也一样

from fpioa_manager import fm
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)

或者从 fpioa_manager 导入他们

from fpioa_manager import fm, board_info
print(board.BOOT_KEY)
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)

修复

  • 修复在 Makefile 选择不使用 touchscreen 模块时编译出错的问题

下载

文档

maixpy.sipeed.com