Coder Social home page Coder Social logo

dks_software's Introduction

DKS software

DKS Demo Software

Structure

├─algorithms
├─datacollector
├─demo
├─doc
├─libs
│  ├─opencv242
│  │  ├─bin
│  │  ├─include
│  │  └─lib
│  └─qt481
│      └─bin
└─test

Dependencies

Qt 4.8.1 msvc2010 32bit

OpenCV 2.4.2 vc10 x86 with support to Qt 4.8.1

datacollector

Functions

  • Collect images and videos

Shortcuts in MainWindow

  • Shortcut 'c': change the config file
  • Shortcut 'd': change the root dir
  • Shortcut '0','1','2': change the camera to 0,1,2
  • Shortcut Enter: take a picture
  • Shortcut Space: take a video

Command Line Arguments

  • -0 Uses camera No.0
  • -1 Uses camera No.1
  • -2 Uses camera No.2
  • --camera 0           Uses camera No.0
    
  • -c --config config.xml Config File Name
  • -d --dir saveDir Dir to Save Images and Videos
  • -l --log Displays log window

Passed Tests

test.bat

      set "PATH=..\libs\qt481\bin;..\libs\opencv242\bin;%PATH%"
      set EXENAME=datacollector
      set "EXEDIR=..\%EXENAME%-build-desktop-Qt_4_8_1_for_Desktop_-_MSVC2010__Qt_SDK____"
      set "EXEFILE=%EXENAME%.exe"
      set "RELEASEEXE=%EXEDIR%\release\%EXEFILE%"
      set "DEBUGEXE=%EXEDIR%\debug\%EXEFILE%"
      
      if not exist %RELEASEEXE% goto NoRelease
      start %RELEASEEXE% --camera 0 --config configtest.xml
      start %RELEASEEXE% -1 --config rootdirtest.xml --dir dirtestsuccess
      start %RELEASEEXE% -0c configtest.xml
      :NoRelease
      
      if not exist %DEBUGEXE% goto NoDebug
      start %DEBUGEXE% --camera 0 --config configtest.xml
      start %DEBUGEXE% -1 --config rootdirtest.xml --dir dirtestsuccess
      start %DEBUGEXE% -0c configtest.xml
      :NoDebug

configtest.xml

      <?xml version="1.0"?>
      <opencv_storage>
            <saveRootDir>E:/code/dks_software/test/configtestsuccess</saveRootDir>
            <dataSetDir>E:/code/dks_software/test</dataSetDir>
      </opencv_storage>

rootdirtest.xml

      <?xml version="1.0"?>
      <opencv_storage>
            <saveRootDir>E:/code/dks_software/test/dirtestfail</saveRootDir>
            <dataSetDir>E:/code/dks_software/test</dataSetDir>
      </opencv_storage>

dks_software's People

Contributors

quxiaofeng avatar

Watchers

James Cloos avatar  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.