All Projects → sipeed → Maixpy

sipeed / Maixpy

Licence: other
MicroPython for K210 RISC-V, let's play with edge AI easier

Programming Languages

c
50402 projects - #5 most used programming language
micropython
64 projects

Projects that are alternatives of or similar to Maixpy

Model server
A scalable inference server for models optimized with OpenVINO™
Stars: ✭ 431 (-59.53%)
Mutual labels:  ai, edge
Clarifai Apple Sdk
Artificial Intelligence with a Vision
Stars: ✭ 46 (-95.68%)
Mutual labels:  ai, edge
multizone-linux
MultiZone® Security Enclave for Linux
Stars: ✭ 18 (-98.31%)
Mutual labels:  firmware, risc-v
Aoe
AoE (AI on Edge,终端智能,边缘计算) 是一个终端侧AI集成运行时环境 (IRE),帮助开发者提升效率。
Stars: ✭ 759 (-28.73%)
Mutual labels:  ai, edge
Mumbai Ai Meetup
Repository for all the content presented in the Mumbai AI Meetup - https://www.meetup.com/mumbai-ai-meetup
Stars: ✭ 48 (-95.49%)
Mutual labels:  ai
Repository Edge
EDGE - Home Assistant Community Add-ons
Stars: ✭ 42 (-96.06%)
Mutual labels:  edge
Edge Selenium Tools
An updated EdgeDriver implementation for Selenium 3 with newly-added support for Microsoft Edge (Chromium).
Stars: ✭ 41 (-96.15%)
Mutual labels:  edge
Papers
My presentations and papers
Stars: ✭ 40 (-96.24%)
Mutual labels:  firmware
Dialogflow Angular5
💬 Bot in Angular 5 & DialogFlow
Stars: ✭ 52 (-95.12%)
Mutual labels:  ai
Do Not Laugh
A simple AI game based on Vue.js and Electron
Stars: ✭ 51 (-95.21%)
Mutual labels:  ai
Firechip
Top-Level Project for Firebox SoC, consisting of Rocket, BOOM, and peripherals (e.g. Ethernet NIC). This is the default target generator used in FireSim.
Stars: ✭ 47 (-95.59%)
Mutual labels:  risc-v
Bot Context
Easy, powerful, functional way to maintain conversational context in chat bots.
Stars: ✭ 44 (-95.87%)
Mutual labels:  ai
Holodeck Engine
High Fidelity Simulator for Reinforcement Learning and Robotics Research.
Stars: ✭ 48 (-95.49%)
Mutual labels:  ai
Memfault Firmware Sdk
Memfault Firmware SDK for embedded systems. More information at https://docs.memfault.com.
Stars: ✭ 42 (-96.06%)
Mutual labels:  firmware
Darkriscv
opensouce RISC-V cpu core implemented in Verilog from scratch in one night!
Stars: ✭ 1,062 (-0.28%)
Mutual labels:  risc-v
Sonoff Hack
Custom firmware for Sonoff GK-200MP2B camera
Stars: ✭ 41 (-96.15%)
Mutual labels:  firmware
Gender Detection
Determine a person's gender based on his/her first name.
Stars: ✭ 50 (-95.31%)
Mutual labels:  ai
Caloriecounter
AWS Lex based chatbot that calculates calories based on different fast food restaurants. This was an entry for a coding challenge on DevPost, and is actively used on Facebook Messenger. The issues list is actively managed as what defects or improvements are found by real world usage.
Stars: ✭ 46 (-95.68%)
Mutual labels:  ai
Stream
Elegant stream processing pipeline written entirely in Golang
Stars: ✭ 45 (-95.77%)
Mutual labels:  edge
Gbrain
GPU Javascript Library for Machine Learning
Stars: ✭ 48 (-95.49%)
Mutual labels:  ai



Master branch build status master build firmware Latest release version License
Good first issues Bug issues Enhancement issues

中文



Let's Sipeed up, Maximize AI's power!

MaixPy, makes AIOT easier!

Maixpy is designed to make AIOT programming easier, based on the Micropython syntax, running on a very powerful embedded AIOT chip K210.

There are many things you can do with MaixPy, please refer to here

K210 brief:

  • Image Recognition with hardware AI acceleration
  • Dual core with FPU
  • 8MB(6MB+2MB) RAM
  • 16MB external Flash
  • Max 800MHz CPU freq (see the dev board in detail, usually 400MHz)
  • Microphone array(8 mics)
  • Hardware AES SHA256
  • FPIOA (Periphrals can map to any pins)
  • Peripherals: I2C, SPI, I2S, WDT, TIMER, RTC, UART, GPIO etc.
maix bit

Simple code

Find I2C devices:

from machine import I2C

i2c = I2C(I2C.I2C0, freq=100000, scl=28, sda=29)
devices = i2c.scan()
print(devices)

Take picture:

import sensor
import image
import lcd

lcd.init()
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.run(1)
while True:
    img=sensor.snapshot()
    lcd.display(img)

Use AI model to recognize object:

import KPU as kpu
import sensor

sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.set_windowing((224, 224))

model = kpu.load("/sd/mobilenet.kmodel")  # load model
while(True):
    img = sensor.snapshot()               # take picture by camera
    out = kpu.forward(task, img)[:]       # inference, get one-hot output
    print(max(out))                       # print max probability object ID

please read doc before run it

Release

See Releases page

Get latest commit firmware: master firmware

Custom your firmware, see build or use online custom tool

Documentation

Doc refer to maixpy.sipeed.com

Examples

MaixPy_scripts

Build From Source

See build doc

The historic version see historic branch (No longer maintained, just keep commit history)

Use online compilation tools to customize firmware

Go to maixhub.com to use online compilation to customize the functions you need

Model hub: Maixhub.com

Find more models on Maixhub.com

License

See LICENSE file

Other: As C SDK for C developers

In addition to the source code of the MaixPy project, since MaixPy exists as a component, it can be configured to not participate in compilation, so this repository can also be developed as C SDK. For the usage details, see Building Documentation, which can be started by compiling and downloading projects/hello_world.

The compilation process is briefly as follows:

wget http://dl.cdn.sipeed.com/kendryte-toolchain-ubuntu-amd64-8.2.0-20190409.tar.xz
sudo tar -Jxvf kendryte-toolchain-ubuntu-amd64-8.2.0-20190409.tar.xz -C /opt
cd projects/hello_world
python3 project.py menuconfig
python3 project.py build
python3 project.py flash -B dan -b 1500000 -p /dev/ttyUSB0 -t
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].