Code Monkey home page Code Monkey logo

rookie's Introduction

大创项目——Rookie行人跟随机器人

[TOC]

环境

  • ubuntu18
  • opencv4
  • realsense
  • libtorch

  • web交互程序依賴:
    • python3
    • flask
    • gevent
    • opencv-python

开始

  1. 安装Opencv4

    略。。。

  2. 安装librorch

    建议使用源码安装:

    git clone --recursive https://github.com/pytorch/pytorch
    cd pytorch
    git checkout 1.6
    # if you are updating an existing checkout
    git submodule sync
    git submodule update --init --recursive
    
    python tools/build_libtorch.py
  3. 安装realsense

    安装步骤参照这里

  4. 安装Zbar

    sudo apt-get install libzbar-dev libzbar0
  5. 修改CmakeLists文件

    将下面一行修改成自己libtorch的目录:

    set(CMAKE_PREFIX_PATH ~/install/pytorch/torch/)
  6. 编译

    mkdir build
    cd build
    cmake -DCMAKE_BUILD_TYPE=Release ..
    make -j6

  • web交互界面依賴安裝
    pip3 install opencv-python
    pip3 install flask
    # pip3 install gevent

参考

github: YOLOv5-LibTorch

rookie's People

Contributors

jungheil avatar lirongxi-neu avatar mryoungcn avatar

Stargazers

 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.