Coder Social home page Coder Social logo

wanderbot_public's Introduction

WanderingBot

未来地球流浪者bot - 基于WeChaty, PaddleHub与彩云小梦的科幻机器人

bf

一个身处未来,正在努力穿越地球的旅行者。 可以跟人类发送当前定位、照片和游记。 希望做成一个互联网艺术项目,成为参与者聊天列表里一位特殊的旅行者,给参与者带去一些期待和惊喜。

详细与流程请见AI Studio:https://aistudio.baidu.com/aistudio/projectdetail/1896705

bf

bf

bf

bf

实现流程

获取地理信息,如 [北京大学东门]

=》调用百度地图api地图检索功能,根据地点搜索获取gps坐标

http://lbsyun.baidu.com/index.php?title=webapi/guide/webservice-placeapi

=》调用百度地图api全景静态图功能,获取该坐标对应的街景图

http://lbsyun.baidu.com/index.php?title=viewstatic

=》调用PaddleHub风格迁移模型,迁移成未来风格

https://aistudio.baidu.com/aistudio/projectdetail/439779?channelType=0&channel=0

=》调用彩云小梦api,生成游记

https://open.caiyunapp.com/%E5%BD%A9%E4%BA%91%E5%B0%8F%E6%A2%A6API

=》通过WeChaty返回消息给用户

https://wechaty.js.org/

版本&要求

使用Python 3.7.4

服务器搭建,以及WeChaty Token获取的部分请参考:

https://aistudio.baidu.com/aistudio/projectdetail/1836012

百度地图的api Token(ak)可通过在官网控制台创建应用获得

http://lbsyun.baidu.com/index.php?title=%E9%A6%96%E9%A1%B5

彩云小梦的api Token需要通过邮件申请

https://open.caiyunapp.com/%E5%BD%A9%E4%BA%91%E5%B0%8F%E6%A2%A6API

参考链接

阿里云+wechaty教程 https://aistudio.baidu.com/aistudio/projectdetail/1836012

wechaty例子 https://github.com/Lovely-Pig/paddlehub-wechaty

百度地图 全景静态图api http://lbsyun.baidu.com/index.php?title=viewstatic https://zhuanlan.zhihu.com/p/79627772

百度地图-地点检索 http://lbsyun.baidu.com/index.php?title=webapi/guide/webservice-placeapi

文件夹

地点获取图片:pictures 迁移完成:transfer_result 风格图:style_transfer 百度api相关脚本:baiduScript

bf

wanderbot_public's People

Contributors

sunyuqian1997 avatar

Watchers

 avatar

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.