code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
/* * Copyright (C) 2015-2021 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <aos/cli.h> #include "netmgr.h" #include "ulog/ulog.h" #include "ota_agent.h" #include "core_mqtt.h" #include "netmgr_wifi.h" #include "aiot_mqtt_api.h" #include "aiot_state_api.h" #inclu...
YifuLiu/AliOS-Things
solutions/ota_demo/otaappdemo.c
C
apache-2.0
15,402
# coding=utf-8 # This is a sample Python script. import utime from video import camera print("start photo save test") # 打开摄像头 camera = camera() camera.open(0) # 拍照并保存图片到SD卡,此处拍摄10张图片,保存格式为JPEG for i in range(10): frame = camera.capture() camera.save(frame, camera.JPEG, 'photo') utime.sleep_ms(1000) ...
YifuLiu/AliOS-Things
solutions/photocapture_demo/src/main.py
Python
apache-2.0
496
CPRE := @ ifeq ($(V),1) CPRE := VERB := --verbose endif .PHONY:startup startup: all all: @echo "Build Solution by $(BOARD) " $(CPRE) scons $(VERB) --board=$(BOARD) $(MULTITHREADS) $(MAKEFLAGS) @echo AOS SDK Done sdk: $(CPRE) aos sdk .PHONY:clean clean: $(CPRE) scons -c --board=$(BOARD) $(CPRE) find . -name "...
YifuLiu/AliOS-Things
solutions/py_engine_demo/Makefile
Makefile
apache-2.0
616
#! /bin/env python from aostools import Make # defconfig = Make(elf='yoc.elf', objcopy='generated/data/prim', objdump='yoc.asm') defconfig = Make(elf='aos.elf', objcopy='aos.bin') Export('defconfig') defconfig.build_components()
YifuLiu/AliOS-Things
solutions/py_engine_demo/SConstruct
Python
apache-2.0
233
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #include "aos/init.h" #include "board.h" #include <aos/errno.h> #include <aos/kernel.h> #include <k_api.h> #include <stdio.h> #include <stdlib.h> #include "haas_main.h" int application_start(int argc, char *argv[]) { haas_main(argc, argv); return...
YifuLiu/AliOS-Things
solutions/py_engine_demo/appdemo.c
C
apache-2.0
326
# coding=utf-8 import shutil import os import sys import stat import datetime import subprocess from datetime import datetime def copy_resources_objs(script_in, build_params_in): build_params = open(build_params_in) data = build_params.read() data_prebuild_dir='' if 'ALI_AOS_HAAS_EDU_K1' in data: # ...
YifuLiu/AliOS-Things
solutions/py_engine_demo/cp_solutions_res.py
Python
apache-2.0
1,458
/* user space */ #ifndef RHINO_CONFIG_USER_SPACE #define RHINO_CONFIG_USER_SPACE 0 #endif
YifuLiu/AliOS-Things
solutions/py_engine_demo/k_app_config.h
C
apache-2.0
106
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <aos/kernel.h> #include "aos/init.h" #include "board.h" #include <k_api.h> #ifndef AOS_BINS extern int application_start(int argc, char *argv[]); #endif /* If board have no component for example board_xx_i...
YifuLiu/AliOS-Things
solutions/py_engine_demo/maintask.c
C
apache-2.0
1,192
CPRE := @ ifeq ($(V),1) CPRE := VERB := --verbose endif .PHONY:startup startup: all all: @echo "Build Solution by $(BOARD) " $(CPRE) scons $(VERB) --board=$(BOARD) $(MULTITHREADS) $(MAKEFLAGS) @echo AOS SDK Done sdk: $(CPRE) aos sdk .PHONY:clean clean: $(CPRE) scons -c --board=$(BOARD) $(CPRE) find . -name "...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/Makefile
Makefile
apache-2.0
683
Import('defconfig') defconfig.library_yaml()
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/SConscript
Python
apache-2.0
45
#! /bin/env python from aostools import Make # defconfig = Make(elf='yoc.elf', objcopy='generated/data/prim', objdump='yoc.asm') defconfig = Make(elf='aos.elf', objcopy='aos.bin') Export('defconfig') defconfig.build_components()
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/SConstruct
Python
apache-2.0
233
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <stdio.h> #include <string.h> #include <unistd.h> #include "activation.h" #include "ulog/ulog.h" #include "aos/kernel.h" #include <netdb.h> #include <sys/socket.h> #ifdef AOS_COMP_KV #include "aos/kv.h" #endif #ifdef SYSINFO_MCU_ESP32 #include "...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/activation/activation.c
C
apache-2.0
13,250
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef ACTIVATION_H #define ACTIVATION_H /* tigger activation report */ int activation_report(void); int activation_info_set(char *os, char *partner, char *app_net, char *type, char *project, char *cloud); #endif
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/activation/activation.h
C
apache-2.0
282
/* Hello World Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include <stdio.h> #...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/appdemo.c
C
apache-2.0
1,317
#! /usr/bin/env python3 import os import platform import argparse import sys import shutil cur_os = platform.system() arch = platform.architecture() path = '' magic = '0xefefefef' if cur_os == 'Linux': if '64bit' in arch: path = 'linux64' else: path = 'linux32' elif cur_os == 'Darwin': path...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/build_bin.py
Python
apache-2.0
1,128
import kv channel = kv.get('app_upgrage_channel') if channel == "disable": pass elif channel == "mqtt": execfile('/lib/appOta.py') else: execfile('/lib/oneMinuteOnCloud.py')
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/fs/boot.py
Python
apache-2.0
194
import uos as os import uerrno as errno import ujson as json import uzlib import upip_utarfile as tarfile import gc import time import ussl import usocket import kv import network import time file_buf = bytearray(128) def install_pkg(package_url, install_path): gzdict_sz = 16 + 15 f1 = url_open(package_url) ...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/fs/lib/appOta.py
Python
apache-2.0
4,075
import ubluetooth import json import gc import time import network from micropython import const _wlan = network.WLAN(network.STA_IF) _ble = ubluetooth.BLE() _bleNetConfigStatus = None _ble_adv_name = 'esp-node' _ble_tx = None _ble_rx = None _ble_msg = '' BLE_CONNECTED = const(0x00) BLE_DISCONNECTED = const(0x01) BL...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/fs/lib/bleNetConfig.py
Python
apache-2.0
4,345
print('enable OneMinuteOnCloud') import ubluetooth import uos as os import uerrno as errno import ujson as json import uzlib import upip_utarfile as tarfile import gc import time import machine import ussl import usocket import network _wlan = network.WLAN(network.STA_IF) _ble = ubluetooth.BLE() _ble_adv_name = 'esp-...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/fs/lib/oneMinuteOnCloud.py
Python
apache-2.0
11,221
/* user space */ #ifndef RHINO_CONFIG_USER_SPACE #define RHINO_CONFIG_USER_SPACE 0 #endif
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/k_app_config.h
C
apache-2.0
106
/* Hello World Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include <stdio.h> #...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/maintask.c
C
apache-2.0
1,206
# Combine bootloader, partition table and application into a final binary. import os, sys import platform sys.path.append(os.getenv("IDF_PATH") + "/components/partition_table") import gen_esp32part def load_partition_table(filename): with open(filename, "rb") as f: return gen_esp32part.PartitionTable.fr...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/makefs.py
Python
apache-2.0
1,234
# Combine bootloader, partition table and application into a final binary. import os, sys sys.path.append(os.getenv("IDF_PATH") + "/components/partition_table") import gen_esp32part OFFSET_BOOTLOADER_DEFAULT = 0x1000 OFFSET_PARTITIONS_DEFAULT = 0x8000 def load_sdkconfig_hex_value(filename, value, default): va...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/makeimg.py
Python
apache-2.0
3,228
#!/bin/bash set -e # 1、Get board type from .config file shellPath=$(cd $(dirname ${BASH_SOURCE[0]}); pwd ) configPath=${shellPath}/../../ configPath="`cd "${configPath}";pwd`" configFile=${configPath}/.config if [ ! -f "${configFile}" ]; then echo "" echo "****************************************" echo "...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/makeimg.sh
Shell
apache-2.0
2,261
#! /usr/bin/env python3 import os, sys, re, struct, platform, getopt, subprocess from sys import platform as _platform import array,hashlib,struct def update_crc16(crcin, byte): crc = crcin calculen = byte | 0x100 crc <<= 1 calculen <<= 1 if calculen & 0x100 > 0: crc += 1 if crc & 0x10...
YifuLiu/AliOS-Things
solutions/py_engine_esp32_demo/ota_gen_md5_bin.py
Python
apache-2.0
3,476
# Welcome! This is a sample code. import sys sys.stdout.write("hello world!")
YifuLiu/AliOS-Things
solutions/qrcode_demo/src/main.py
Python
apache-2.0
78
CPRE := @ ifeq ($(V),1) CPRE := VERB := --verbose endif .PHONY:startup startup: all all: @echo "Build Solution by $(BOARD) " $(CPRE) scons $(VERB) --board=$(BOARD) $(MULTITHREADS) $(MAKEFLAGS) @echo AOS SDK Done sdk: $(CPRE) aos sdk .PHONY:clean clean: $(CPRE) scons -c --board=$(BOARD) ifeq ($(OS), Windows_NT)...
YifuLiu/AliOS-Things
solutions/relay_demo/Makefile
Makefile
apache-2.0
599
#! /bin/env python from aostools import Make # default elf is out/<solution>@<board>.elf, and default objcopy is out/<solution>@<board>.bin # defconfig = Make(elf='out/<solution>@<board>.elf', objcopy='out/<solution>@<board>.bin') defconfig = Make() Export('defconfig') defconfig.build_components()
YifuLiu/AliOS-Things
solutions/relay_demo/SConstruct
Python
apache-2.0
303
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #include "aos/init.h" #include "board.h" #include <aos/errno.h> #include <aos/kernel.h> #include <k_api.h> #include <stdio.h> #include <stdlib.h> #include <mbmaster.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <vfsdev/gpio_dev...
YifuLiu/AliOS-Things
solutions/relay_demo/helloworld.c
C
apache-2.0
1,799
/* user space */ #ifndef RHINO_CONFIG_USER_SPACE #define RHINO_CONFIG_USER_SPACE 0 #endif
YifuLiu/AliOS-Things
solutions/relay_demo/k_app_config.h
C
apache-2.0
106
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <aos/kernel.h> #include "aos/init.h" #include "board.h" #include <k_api.h> #ifndef AOS_BINS extern int application_start(int argc, char *argv[]); #endif /* If board have no component for example board_xx_i...
YifuLiu/AliOS-Things
solutions/relay_demo/maintask.c
C
apache-2.0
1,192
CPRE := @ ifeq ($(V),1) CPRE := VERB := --verbose endif .PHONY:startup startup: all all: @echo "Build Solution by $(BOARD) " $(CPRE) scons $(VERB) --board=$(BOARD) $(MULTITHREADS) $(MAKEFLAGS) @echo AOS SDK Done sdk: $(CPRE) aos sdk .PHONY:clean clean: $(CPRE) scons -c --board=$(BOARD) $(CPRE) find . -name "*...
YifuLiu/AliOS-Things
solutions/rfid_demo/Makefile
Makefile
apache-2.0
397
Import('defconfig') defconfig.library_yaml()
YifuLiu/AliOS-Things
solutions/rfid_demo/SConscript
Python
apache-2.0
45
#! /bin/env python from aostools import Make defconfig = Make(elf='aos.elf', objcopy='binary/rfid_demo@haas100.bin') Export('defconfig') defconfig.build_components()
YifuLiu/AliOS-Things
solutions/rfid_demo/SConstruct
Python
apache-2.0
170
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ /** * @file main.c * * This file includes the entry code of link sdk related demo * */ #include <string.h> #include <stdio.h> #include <aos/kernel.h> #include "ulog/ulog.h" #include "netmgr.h" #include <uservice/uservice.h> #include <uservice/eventid...
YifuLiu/AliOS-Things
solutions/rfid_demo/main.c
C
apache-2.0
1,217
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <aos/kernel.h> #include "aos/init.h" #include "board.h" #include <k_api.h> #ifndef AOS_BINS extern int application_start(int argc, char *argv[]); #endif /* * If board have no component for example board_x...
YifuLiu/AliOS-Things
solutions/rfid_demo/maintask.c
C
apache-2.0
1,197
/* * 这个例程演示了用SDK配置MQTT参数并建立连接, 之后创建2个线程 * * + 一个线程用于保活长连接 * + 一个线程用于接收消息, 并在有消息到达时进入默认的数据回调, 在连接状态变化时进入事件回调 * * 接着演示了在MQTT连接上进行属性上报, 事件上报, 以及处理收到的属性设置, 服务调用, 取消这些代码段落的注释即可观察运行效果 * * 需要用户关注或修改的部分, 已经用 TODO 在注释中标明 * */ #include <stdio.h> #include <string.h> #include <unistd.h> #include <aos/kernel.h> #include...
YifuLiu/AliOS-Things
solutions/rfid_demo/rfid_demo.c
C
apache-2.0
15,768
/* * Copyright (C) 2015-2018 Alibaba Group Holding Limited */ #include <stdio.h> #include <aos/kernel.h> #include "aos/hal/gpio.h" #include "ulog/ulog.h" #include "k_api.h" #include <vfsdev/uart_dev.h> #define TASK_RECVDATA_NAME "revdata" #define TASK_RECVDATA_STACKSIZE 4096 #define TASK_RECVDATA_PRI 50 ...
YifuLiu/AliOS-Things
solutions/rfid_demo/rfid_uart.c
C
apache-2.0
2,335
CPRE := @ ifeq ($(V),1) CPRE := VERB := --verbose endif MK_GENERATED_IMGS_PATH:=generated PRODUCT_BIN:=product .PHONY:startup startup: all all: @echo "Build Solution by $(BOARD) " $(CPRE) scons $(VERB) --board=$(BOARD) $(MULTITHREADS) $(MAKEFLAGS) @echo tflite micro speech build Done @echo [INFO] Create bin fil...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/Makefile
Makefile
apache-2.0
887
#! /bin/env python from aostools import Make # defconfig = Make(elf='yoc.elf', objcopy='generated/data/prim', objdump='yoc.asm') defconfig = Make(elf='aos.elf', objcopy='binary/tflite_micro_speech_demo@haaseduk1.bin') Export('defconfig') defconfig.build_components()
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/SConstruct
Python
apache-2.0
271
#!/usr/bin/env python3 import os import sys import getpass import shutil #!/usr/bin/env python3 import os import sys import getpass import shutil comp_path = sys.path[0] print("comp_path:") print(comp_path) # original folder src_mp3_path = comp_path + "/resources/mp3" # new folder data_path = comp_path + "/../../...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/cp_resources.py
Python
apache-2.0
644
/* * Copyright (c) 2014-2016 Alibaba Group. All rights reserved. * License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/main.c
C
apache-2.0
2,166
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <aos/kernel.h> #include "aos/init.h" #include "board.h" #include <k_api.h> #ifndef AOS_BINS extern int application_start(int argc, char *argv[]); #endif /* If board have no component for example board_xx_i...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/maintask.c
C
apache-2.0
1,362
INCLUDES += \ -I$(MAKEFILE_DIR)/downloads/kissfft GENERATED_PROJECT_INCLUDES += \ -I./third_party/kissfft PROJECT_INCLUDES += \ third_party/kissfft KISSFFT_LIB_SRCS := \ $(MAKEFILE_DIR)/downloads/kissfft/kiss_fft.c \ $(MAKEFILE_DIR)/downloads/kissfft/tools/kiss_fftr.c KISSFFT_LIB_HDRS := \ $(MAKEFILE_DIR)/downloa...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/Makefile.inc
Makefile
apache-2.0
14,424
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/audio_provider.cc
C++
apache-2.0
11,143
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/audio_provider.h
C
apache-2.0
2,659
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/audio_provider_mock.cc
C++
apache-2.0
2,389
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/audio_provider_mock_test.cc
C++
apache-2.0
3,230
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/audio_provider_test.cc
C++
apache-2.0
2,801
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/command_responder.cc
C++
apache-2.0
3,134
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/command_responder.h
C
apache-2.0
1,576
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/command_responder_test.cc
C++
apache-2.0
1,200
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/feature_provider.cc
C++
apache-2.0
5,467
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/feature_provider.h
C++
apache-2.0
2,372
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/feature_provider_mock_test.cc
C++
apache-2.0
2,676
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/feature_provider_test.cc
C++
apache-2.0
1,587
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/main_functions.cc
C++
apache-2.0
13,145
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/main_functions.h
C
apache-2.0
1,355
# Library for generating feature vectors from audio data package( default_visibility = ["//visibility:public"], features = ["-layering_check"], licenses = ["notice"], ) cc_library( name = "micro_model_settings", srcs = [ "micro_model_settings.cc", ], hdrs = [ "micro_model_se...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/BUILD
Starlark
apache-2.0
2,035
unsigned char g_model[] = { 0x20, 0x00, 0x00, 0x00, 0x54, 0x46, 0x4c, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x04, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x14, 0x00, 0x00, 0x00, 0x18, 0x00, 0x12, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x94, 0x48, 0x00, 0x00, 0x34, 0x42, 0x00, 0x...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/dakai_guanbi/model.cc
C++
apache-2.0
115,456
unsigned char g_model[] = { 0x20, 0x00, 0x00, 0x00, 0x54, 0x46, 0x4c, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x04, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x14, 0x00, 0x00, 0x00, 0x18, 0x00, 0x12, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0xdc, 0x67, 0x00, 0x00, 0x7c, 0x61, 0x00, 0x...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/forward_backward_left_right/model.cc
C++
apache-2.0
164,838
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/micro_features_generator.cc
C++
apache-2.0
4,619
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/micro_features_generator.h
C
apache-2.0
1,591
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/micro_features_generator_test.cc
C++
apache-2.0
4,683
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/micro_model_settings.cc
C++
apache-2.0
858
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/micro_model_settings.h
C++
apache-2.0
2,072
unsigned char g_model[] = { 0x20, 0x00, 0x00, 0x00, 0x54, 0x46, 0x4c, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x04, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x14, 0x00, 0x00, 0x00, 0x18, 0x00, 0x12, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x94, 0x48, 0x00, 0x00, 0x34, 0x42, 0x00, 0x...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/model.cc
C++
apache-2.0
115,456
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/model.h
C
apache-2.0
1,237
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/no_feature_data_slice.cc
C++
apache-2.0
1,097
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/no_feature_data_slice.h
C++
apache-2.0
1,335
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/no_micro_features_data.cc
C++
apache-2.0
13,300
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/no_micro_features_data.h
C
apache-2.0
1,123
unsigned char g_model[] = { 0x20, 0x00, 0x00, 0x00, 0x54, 0x46, 0x4c, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x04, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x14, 0x00, 0x00, 0x00, 0x18, 0x00, 0x12, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x94, 0x48, 0x00, 0x00, 0x34, 0x42, 0x00, 0x...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/on_off/model.cc
C++
apache-2.0
115,456
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/static_alloc.h
C
apache-2.0
1,840
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/yes_feature_data_slice.cc
C++
apache-2.0
1,115
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/yes_feature_data_slice.h
C++
apache-2.0
1,347
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/yes_micro_features_data.cc
C++
apache-2.0
13,330
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/yes_micro_features_data.h
C
apache-2.0
1,129
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_features/yes_no/model.cc
C++
apache-2.0
119,962
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/micro_speech_test.cc
C++
apache-2.0
6,210
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/no_1000ms_sample_data.cc
C++
apache-2.0
115,458
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/no_1000ms_sample_data.h
C++
apache-2.0
1,270
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/no_30ms_sample_data.cc
C++
apache-2.0
4,416
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/no_30ms_sample_data.h
C++
apache-2.0
1,445
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/recognize_commands.cc
C++
apache-2.0
6,299
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/recognize_commands.h
C++
apache-2.0
6,099
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/recognize_commands_test.cc
C++
apache-2.0
7,711
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/ringbuf.c
C
apache-2.0
9,207
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/ringbuf.h
C
apache-2.0
2,485
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/CMSIS/simple_features_generator.cc
C++
apache-2.0
3,224
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/fixed_point/simple_features_generator.cc
C++
apache-2.0
9,048
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/model.cc
C++
apache-2.0
126,451
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/model.h
C
apache-2.0
1,240
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/no_power_spectrum_data.cc
C++
apache-2.0
1,051
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/no_power_spectrum_data.h
C++
apache-2.0
1,344
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/no_simple_features_data.cc
C++
apache-2.0
10,707
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/no_simple_features_data.h
C
apache-2.0
1,134
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/simple_features_generator.cc
C++
apache-2.0
6,672
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/simple_features_generator.h
C
apache-2.0
1,634
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
YifuLiu/AliOS-Things
solutions/tflite_micro_speech_demo/micro_speech/simple_features/simple_features_generator_test.cc
C++
apache-2.0
2,853