Code Monkey home page Code Monkey logo

desktop-helper's Introduction

Desktop-Helper

[TOC]

ChangeList

  • 2019/01/22 [Add] 构建了基本的Live 2D桌面应用,添加了图灵机器人聊天,模型跟随鼠标运动的功能
  • 2019/05/28 [Add, Fix] 添加了语音输入、情绪识别的功能,将动作与情绪关联了起来

目前具有的功能

  1. 接入了图灵机器人API,点击F7打开、关闭输入框,按Enter发送消息;消息停留5s后会逐渐变淡消失
  2. 机器人返回的URL会调用默认浏览器打开,例如:输入关键词“新闻
  3. Unity程序背景透明,且可以后台运行,不用怕失去鼠标焦点
  4. 增加了语音输入的功能,按住N键进行语音输入
  5. 增加了情绪识别的功能,根据图灵机器人的回复,展示不同情绪的动作

TODO

  • 将语音输入的启动方式改为CTRL+N

  • 再细分下表情、动作,在情感指数和动作、表情之间建立一个更加准确的映射关系

  • 将爬虫模块和Unity这边联系起来

文件夹目录结构

SimpleLive2D
	|——Assets
	|	  |——Baidu				//百度SDK
	|	  |——Resources			//资源文件夹,包含人物模型文件、音频文件
	|	  |——Scenes				//存放Unity中的scene文件
	|     |——Scripts			//项目的C#代码
	|	  |——UnityPackages		//UnityPackages SDK
	|——README.md				//项目说明
	|——SimpleLive2D.sln			//Visual Studio工程文件

打开方式

  1. 直接打开SimpleLive2D/Assets/Scenes下的SampleScene.unity,就可以在Unity内打开了
  2. 点击SimpleLive2D.sln,就可以在Visual Studio下打开项目文件

FAQ

  1. 如果在Unity中出现Assertion failed: Assertion failed on expression: '!GetMainEditorWindow()'的错误的话,是老师您的Unity没有登陆,点击Unity的快捷方式启动Unity,然后登陆您的账号(可以微信登陆),再在Unity客户端内打开该Unity工程就可以了。
  2. 貌似由于Unity版本的原因,在2017版本的Unity内调用情绪识别的API会报错TlsException:Invalid certification

desktop-helper's People

Contributors

super233 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ztgg hafewa okklj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.