Git Product home page Git Product logo

yolo-windows's Introduction

LargeImageDetect-yolo-windows

修改HUAWEI源码,添加高分辨率图像分割检测代码,可封装为lib,dll方便移植,提供模型实现航拍车辆检测,其中模型训练在Ubuntu下完成,应用在Windows下。

项目要点

  • 采用滑窗裁剪存入文件夹,再送入yolov3,实现超大图检测。
    • 如若修改滑窗步长及分割大小

      • 修改cutAndSace.h
       #define CUTWID 512
       #define CUTHEI 512
       #define CUTSTEP 512
      • 修改image.c
       #define CUTSTEP 512
    • 如若修改保存文件夹

      • 修改darknet.c
       //Save
       char dirPath[] = "x64\\data\\testSplit\\";
       char imgSrcFilename[] = "x64\\data\\panorama.jpg";
  • 将终端操作修改为测试文件夹,可以实现自动测试
    • 如若修改测试文件夹

      • 修改darknet.c
       //Test
       char filename[] = "x64\\data\\testSplit";
  • 可以将代码封装为lib,dll,方便移植
  • 模型只用来检测航拍车辆,下载后放入build\darknet\x64文件夹下
  • 运行显示多幅图,最后一张为超大图检测效果,若不显示中间图,修改detector.c中run_detector
int dont_show = 1;

模型测试

  • 提取码:gqnv,模型下载HUAWEI
  • 航拍高度为100m,只检测车辆

环境配置

  • VS2013+OpenCV3.1+CUDA8.0+CUDNN5.1
  • Intel i7 7700 + GTX1070下检测时间30-40ms per img

More Details

Ubuntu下模型训练请访问HUAWEI,Windows下滑窗处理请访问HUAWEI

yolo-windows's People

Contributors

qinguoyi avatar

Watchers

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