Giter Site home page Giter Site logo

lindsayshuo / lighttrack-rknn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhuyuliang/lighttrack-rknn

0.0 0.0 0.0 8.97 MB

RKNN version demo of [CVPR21] LightTrack: Finding Lightweight Neural Network for Object Tracking via One-Shot Architecture Search

C++ 52.32% C 44.25% CMake 3.42%

lighttrack-rknn's Introduction

LightTrack: Finding Lightweight Neural Networks for Object Tracking via One-Shot Architecture Search (rknn)

The official implementation by pytorch:

https://github.com/researchmm/LightTrack

Run with pre-compiled version

Download pre-release(rv1126/rv1109)

https://github.com/Z-Xiong/LightTrack-rknn/releases/tag/rv1109%2Frv1126

connect your development board

The model only supports rv1109 and rv1126.

install to rv1126/rv1109

$ cd LightTrack-rknn
$ adb push model /userdata
$ adb push 01.mp4 /userdata
$ adb push $PATH_TO_RELEASE/LightTrack /userdata

run by rv1126/rv1109

$ adb shell
# in rk shell
$ cd /userdata
$ ./LightTrack 01.mp4

export out.avi

# in host bash
$ adb pull /userdata/out.avi

Or you can compile it yourself by following the steps below

0. Download lib

链接: https://pan.baidu.com/s/1iDRuForXsz4p1NNQCZ1QIg 密码: fqba

Unzip the zip

$ cp -r lib LightTrack-rknn

1. How to run it?

modify your own CMakeList.txt CROSS_COMPILE_TOOL

set(CROSS_COMPILE_TOOL $YOUR_PATH/rk1109_rk1126_linux/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf)

build

$ mkdir build && cd build
$ cmake .. && make -j
$ make install

connect your development board

The model only supports rv1109 and rv1126.

install to rv1126/rv1109

$ adb push ../install /userdata

run by rv1126/rv1109

$ adb shell
# in rk shell
$ cd /userdata/install/lighttrack_demo
$ ./LightTrack 01.mp4

export out.avi

# in host bash
$ adb pull /userdata/install/lighttrack_demo/out.avi

You may encounter build problems, raise an issue.

lighttrack-rknn's People

Contributors

z-xiong 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.