liuruoze / liuruoze/EasyPR

SOBEL+COLOR vs抛出异常

Open
#160 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
6.4k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

修改vs编译选项中的运行库为MTD(原来是MDD,需要静态编译,所以改为MTD),当修改定位方式是SOBEL+COLOR的方法时候(例如修改test_plate_recognize()中的pr.setDetectType(easypr::PR_DETECT_CMSER );为 pr.setDetectType( PR_DETECT_COLOR |PR_DETECT_SOBEL);),vs抛出异常,debug发现是vector的问题,还没找到解决方法。

![image](https://cloud.githubusercontent.com/assets/8891923/21793259/84e6191e-d72a-11e6-95a1-e121dcd719c0.png)

**Please tell us about your environment:**

* **System:** windows8.1 x64

* **Compiler version/IDE:** vs2013

* **OpenCV version:** [ 3.1 ]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure from test_plate_recognize() using VS2013, Windows 8.1 x64, OpenCV 3.1, the MTD runtime, and the SOBEL|COLOR detection setting. Start by examining the reported vector exception and the compiler/runtime configuration; done means the SOBEL+COLOR path runs without throwing an exception under the stated environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, opencv
Domain
build-system, computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.