Git Product home page Git Product logo

bottlecapidentification's Introduction

项目结构

  • frontend
  • backend
    • IdentifyModel.py
    • ImgModel.py
    • Localserver.py
    • main.py
    • test.py

环境配置

前端

  • 安装node.js
  • 安装react

后端

建议使用conda导入环境

conda env create -f environment.yaml

注意高版本环境会导致识别问题,自行安装请务必保证版本号一致。

  • 安装python3.6.4
  • pip install tornado==4.5.3

  • pip install numpy==1.14.2

  • pip install opencv-python==4.1.2.30

  • pip install pillow==5.0.0

  • pip install tkinter //tkinter只在自己测试时使用

运行

前端

  • cd front

  • npm install

  • npm start

后端

  • 在验证自己的模型时,输入

  • cd backend

  • python3 test.py

  • 在test.py中编写了(简陋的)GUI界面用来测试,所以测试时不需要运行前端,但是使用test.py会压缩图片,可能无法得到理想的结果

  • 在与前端联调时,输入

  • cd backend

  • python3 main.py

  • 在main.py中编写了本地服务器的启动程序

bottlecapidentification's People

Contributors

1000happiness avatar mxwxz 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.