Giter Club home page Giter Club logo

unitv2framework's Introduction

M5 UnitV2 Framework

Build

VSCode devcontainer is recommended.

build for x64 architecture(for debugging)

cmake -B build/x64 -DOPENCV_DIR=/external/opencv/build/x64/ -DCMAKE_TOOLCHAIN_FILE=./platforms/x64.toolchain.cmake -DTARGET=camera_stream .
cmake --build build/x64

build for armhf architecture(UnitV2)

cmake -B build/arm -DOPENCV_DIR=/external/opencv/build/arm/ -DCMAKE_TOOLCHAIN_FILE=./platforms/arm.toolchain.cmake -DTARGET=camera_stream .
cmake --build build/arm

Toolchain

All dependencies are included in development container (see Dockerfile)

gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf.tar.xz

@download page

@download link

Dependent library

OpenCV 4.4.0 + OpenCV's extra modules 4.4.0

@opencv

@opencv_contrib

cmake -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake -DOPENCV_EXTRA_MODULES_PATH=<PATH TO opencv_contrib/modules> -DBUILD_LIST=tracking,imgcodecs,videoio,highgui,features2d,ml,xfeatures2d -DCMAKE_BUILD_TYPE=Release ../../..

NCNN

@ncnn

cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabihf.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DNCNN_VULKAN=OFF -DNCNN_BUILD_EXAMPLES=ON ..

ZBAR

@ZBar

./configure --prefix=$(pwd)/build --host=arm-none-linux-gnueabihf --enable-shared --without-gtk --without-python --without-qt --without-imagemagick --disable-video CC=arm-none-linux-gnueabihf-gcc CXX=arm-none-linux-gnueabihf-g++

unitv2framework's People

Contributors

meganetaaan avatar icyqwq avatar

Stargazers

Tokoro avatar Koki Shinjo avatar ๐Ÿ“ก WatskeBart ๐Ÿค– avatar Ar-Ray avatar ksasao avatar Junichi Akita avatar Takao Akaki avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

unitv2framework's Issues

Unable to copy dependent library file to lib directory

##About
Inside the docker container, I tried to execute the following command as it is designated by the UnitV2Framework's CMake.
$ cp /external/ncnn/build/install/lib/libncnn.a /workspaces/UnitV2Framework/lib/
However, the directory after /install does not seem to exist. The error message is below.
cp: cannot stat '/external/ncnn/build/install/lib/libncnn.a': No such file or directory

I presume that there could have been a mistake during opening docker container so that the dependent libraries weren't installed properly.

##Execution environment
Ubuntu 20.04
Visual Studio Code Dev Container: C++

I'm sorry this may probably be an elementary question.

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.