Skip to content

Commit

Permalink
* change all the files to utf-8 without bom.
Browse files Browse the repository at this point in the history
* use a few best test parameters chosen from grid search.
* add image to res.
  • Loading branch information
liuruoze committed Jul 3, 2016
1 parent 38fa1b4 commit 822fafa
Show file tree
Hide file tree
Showing 36 changed files with 5,185 additions and 110 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.idea/
_build/
resources/image/tmp/
resources/image/native_test/*.jpg

*.suo
*.sdf
*.opensdf
Expand Down Expand Up @@ -32,3 +34,8 @@ obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*

*.obj
*.cache
*.log
[Bb]in
4 changes: 2 additions & 2 deletions include/easypr/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ namespace easypr {

enum
{
PR_DETECT_SOBEL = 0x01, /**Sobel detect type£¬using twice Sobel */
PR_DETECT_SOBEL = 0x01, /**Sobel detect type, using twice Sobel */
PR_DETECT_COLOR = 0x02, /**Color detect type */
PR_DETECT_CMSER = 0x04, /**Character detect type£¬using mser */
PR_DETECT_CMSER = 0x04, /**Character detect type, using mser */
};

static const char* kDefaultSvmPath = "resources/model/svm.xml";
Expand Down
4 changes: 2 additions & 2 deletions include/easypr/core/plate_recognize.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ namespace easypr {
public:
CPlateRecognize();

//! 车牌检测与字符识别
//! 车牌检测与字符识别
int plateRecognize(Mat src, std::vector<CPlate> &licenseVec, int img_index = 0);
int plateRecognize(Mat src, std::vector<std::string> &licenseVec);

int plateRecognizeAsText(Mat src, std::vector<CPlate> &licenseVec);
int plateRecognizeAsTextNM(Mat src, std::vector<CPlate> &licenseVec);

//! 生活模式与工业模式切换
//! 生活模式与工业模式切换

inline void setLifemode(bool param) { CPlateDetect::setPDLifemode(param); }
inline void setDetectType(int param) { CPlateDetect::setDetectType(param); }
Expand Down
Binary file added resources/doc/res/big_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/doc/res/contrast_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/doc/res/near_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/doc/res/night_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/doc/res/night_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/doc/res/normal_ostu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/doc/res/not_avg_contrast.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/doc/res/spatial_ostu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/image/extreme_test/逆光/浙A26M71.jpg
Binary file not shown.
Binary file removed resources/image/extreme_test/逆光/浙C01701.jpg
Binary file not shown.
Binary file removed resources/image/extreme_test/逆光/粤A82349.jpg
Binary file not shown.
Binary file removed resources/image/extreme_test/逆光/粤A961F3.jpg
Binary file not shown.
Binary file removed resources/image/extreme_test/逆光/粤BA103N.jpg
Binary file not shown.
Binary file removed resources/image/extreme_test/逆光/粤BDB720.jpg
Binary file not shown.
Binary file removed resources/image/extreme_test/逆光/粤BE609T.jpg
Binary file not shown.
Binary file removed resources/image/extreme_test/逆光/赣K11978.jpg
Binary file not shown.
Loading

0 comments on commit 822fafa

Please sign in to comment.