Skip to content
Tool for annotating images
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake Add cmake uninstall target fix #47 Jul 7, 2019
example Add crop widget with basic layout Sep 20, 2018
icons Add light color icons for dark theme support #37 Feb 9, 2019
include/kImageAnnotator Dont export and import symbols when building on windows Nov 23, 2018
src Make numbering tool number part of shape #46 Mar 26, 2019
tests Fix unit tests and add two more unit tests Jan 20, 2019
.gitignore changed representation of selected items. #1 Apr 20, 2018
.travis.yml Revert back to using kColorpicker as library but static Oct 29, 2018
CHANGELOG.md
CMakeLists.txt Add cmake uninstall target fix #47 Jul 7, 2019
README.md Start working on version 0.1.0 Dec 16, 2018

README.md

kImageAnnotator Build Status

Tool for annotating images

Version 0.1.0

kImageAnnotator

Dependencies

kImageAnnotator depends on kColoPicker which needs to be installed before building kImageAnnotator. Install instructions can be found on the github page.

Building from source

  1. Get latest release from GitHub by cloning the repo:
    $ git clone https://github.com/DamirPorobic/kImageAnnotator
  2. Change to repo directory:
    $ cd kImageAnnotator
  3. Make new build directory and enter it:
    $ mkdir build && cd build
  4. Create the makefile and build the project:
    $ cmake .. && make
  5. Install shared library (not required when only using the example):
    $ sudo make install
  6. Run the example application:
    $ ./example/kImageAnnotator-example

Shared vs Static

You can either build the project as shared library by providing the flag -DBUILD_SHARED_LIBS=ON to cmake or -DBUILD_SHARED_LIBS=OFF to build as static library. When no flag is provided a static library is build. For windows we currenlty only support building as static library.

Integrate library

  1. Let cmake find the shared library, optionally with version
    set(KIMAGEANNOTATOR_MIN_VERSION "0.x.x")
    find_package(kImageAnnotator ${KIMAGEANNOTATOR_MIN_VERSION} REQUIRED)

  2. Link the library with your application
    target_link_libraries(myApp kImageAnnotator)

You can’t perform that action at this time.