FoxerLee / Leaf

An iOS application, which lets you communicate with your potted plants.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

We will develop an iOS application, which lets you communicate with your potted plants. You will have a lovely sweetie always acts cute to get attention, rather than just a quiet boy sitting in the sun. You can chat with it, master if its growing environment is suitable and see it anytime and anywhere birthday, photo albums, identity information wherever you are. It will also call you to get up every day, remind you to complete schedule and drink water as well as feed it water.

Implemented requirements

  • iOS platform, version 10.0
    • Speech framework
    • AVFoundation framework
    • MediaPlayer framework
  • Face++ API, version 3.0
  • Leancloud SDK, version 0.5.0
  • Tuling123 API, version 2.1
  • Ruff SCM, version 1.8.1

Architecture

AI Robot

We use ”Tuling123 Robot” API to build our AI robot. ”Tuling123 Robot” API is based on the core capabilities of artificial intelligence (including semantic understanding, intelligent Q&A, scene interaction, knowledge management, etc.), providing a range of online services and development interfaces about cloud computing and large data platforms for the developers.

Because ”Tuling robot” is based on DeepQA depth Q&A technology, the Chinese recognition accuracy rates of up to 90%. It is the Chinese language under the most intelligent robot.

ASR and TTS

Considering the developing platform, we use the native framework —- ”Speech”, ”AVFoundation” and ”MediaPlayer” to realize Automatic Speech Recognition(ASR) and Text-to-Speech(TTS).

The Speech APIs let developers extend and enhance the speech recognition experience within their app, without requiring a keyboard. AVFoundation is one of several frameworks that you can use to play and create time-based audiovisual media.

Plant‘s state Record

In order to give user better experience, we use ”Ruff” SCM to record the information about user‘s plant, and store them in ”Leancloud” cloud database. The application request data from ”Leancloud” when it needs.

”Ruff” SCM uses JavaScript to develop, which is easy-to-pickup. No more cross-compiling, developer can instantly deploy their work.

”Leancloud” is a famous, open-source cloud database, similar to ”Parse”. It provides many SDK based on different language, so it‘s easy to translate data from different platform.

Face detection

In order to simulate the interaction between plants and users, we add face detection subsystem. The subsystem can detect user‘s emotion using his face photo, and responses based on different emotion.

”Face++” API can get people‘s face information like age, gender, emotion, etc. Developer just needs to send a request and the efficient algorithm will response the information quickly.

Screenshots

About

An iOS application, which lets you communicate with your potted plants.


Languages

Language:Swift 82.0%Language:Objective-C 17.3%Language:Ruby 0.5%Language:Shell 0.1%Language:C 0.0%