Git Product home page Git Product logo

xtaiyang / ai-intelligent-recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cao-zha/ai-intelligent-recognition

0.0 0.0 0.0 858 KB

AI智能识物,是一款实用的微信小程序。可以拍照智能识物,可识别地标、车型、花卉、植物、动物、果蔬、货币、红酒、食材等等,AI智能技术识别准确度高。

License: Apache License 2.0

JavaScript 99.08% PHP 0.92%

ai-intelligent-recognition's Introduction

AI智能识物

AI智能识物,是一款实用的小程序。可以拍照智能识物,可识别地标、车型、花卉、植物、动物、果蔬、货币、红酒、食材等等,AI智能技术识别准确度高。

更新说明:

此源码为1.2.0版本。

主要更新内容:新增security.imgSecCheck函数对用户上传的图片进行合法性安全检测。

支持本程序,请到Gitee和GitHub给我们点Star!

Gitee:https://gitee.com/caozha/AI-Intelligent-Recognition

GitHub:https://github.com/cao-zha/AI-Intelligent-Recognition

安装方法

1、PHP端:

打开PHP后端目录/PHP/,找到config.php,修改为您的API信息,并将PHP代码上传到您的网站空间或者服务器。获得一个URL:http://xxxxx/AccessToken_get.php

2、小程序端:

①打开微信小程序目录/wechat_mini_program/,找到app.js,并找到代码:

url: "https://caozha.com/xxxxx/AccessToken_get.php",

将上面代码的URL替换为您网站的URL。

②在cloud_function目录,有一个云函数caozha_ai_shiwu。在微信开发者工具里,在文件夹caozha_ai_shiwu上点击右键,将此云函数上传并部署到您的小程序云端。

如果您没有开通微信小程序的云端开发,点击“云开发”开通。关于云函数:https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/functions.html


特别说明:采用PHP+小程序结合的方式,是因为百度API获取的Access Token有效期为1个月,时效足够长,用自己的服务器可以重复使用此Access Token,避免访问量大的时候频繁请求百度API而被拒绝。

版权所有

开发:草札 www.caozha.com

鸣谢:品络 www.pinluo.com   穷店 www.qiongdian.com

扫码体验

输入图片说明

界面预览

输入图片说明 输入图片说明 输入图片说明 输入图片说明

ai-intelligent-recognition's People

Contributors

cao-zha 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.