GithubHelp home page GithubHelp logo

hunterlew / sky-detector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maybeshewill-cv/sky-detector

3.0 1.0 2.0 3.58 MB

A modified version of https://maybeshewill-cv.github.io/sky-detector/, for Kitti

CMake 2.55% C++ 96.23% QMake 1.23%
sky-detection

sky-detector's Introduction

Modification in this branch

  1. support gray image sky detection
  2. fix bugs in computing energy function
  3. speed up computing procedure by half
  4. special process or param setting for kitti dataset

kitti_example.png

Sky-Area-Detector

sky area detection without deep neural networks. A c++ implemention of the algorithm mentioned in paper "Sky Region Detection in a Single Image for Autonomous Ground Robot Navigation". A fast and robust method to extract the sky area of an image.

Installation

This implementation need opencv library. Since the project is static compiled for conveniently transplanting you need static opencv library linked to this project. If static compilation is not necessary for you feel free to modify the CMakeList to dynamic compile the project.

This software has only been tested on ubuntu 16.04(x64), opencv3.4. To install this package your compiler need to support C++11.

git clone https://github.com/MaybeShewill-CV/sky-detector.git

Build

cd ROOT_FOLDER_DIR
mkdir build
cd build
cmake ..
make -j

The project will generate a static binary file which can be used on other platform without any dynamic library. The binary file built on Ubuntu 16.04LTS was tested on CentOS 6 and worked correctly.

Usage

cd build_dir
./detect input_image_file_path output_image_file_path

结果示意图如下

Test input image with full sky

Test_input_full_sky

Test input image with ful sky result

Test_input_full_sky_result

Test input image with part sky

Test_input_part_sky

Test input image with part sky result

Test_input_part_sky_result

TODO

  • Accelerate the calculation process

sky-detector's People

Contributors

hunterlew avatar maybeshewill-cv avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

wpfhtl balarayen

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.