GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — code/Chapter5_NumberPlateRecognition/CMakeLists.txt at master · rainyear/code

Expand file tree

/

CMakeLists.txt

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
39 lines (31 loc) · 851 Bytes
/

CMakeLists.txt

Copy path

File metadata and controls

executable file
·
39 lines (31 loc) · 851 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
cmake_minimum_required (VERSION 2.6)
PROJECT(ANPR)
SET(PROJECT_VERSION "0.1")
# Opencv Package
FIND_PACKAGE( OpenCV REQUIRED )
IF (${OpenCV_VERSION} VERSION_LESS 2.3.0)
MESSAGE(FATAL_ERROR "OpenCV version is not compatible : ${OpenCV_VERSION}")
ENDIF()
SET(SRC
main.cpp
DetectRegions.cpp
OCR.cpp
Plate.cpp
)
ADD_EXECUTABLE( ${PROJECT_NAME} ${SRC} )
TARGET_LINK_LIBRARIES( ${PROJECT_NAME} ${OpenCV_LIBS} )
ADD_EXECUTABLE( trainSVM trainSVM.cpp )
TARGET_LINK_LIBRARIES( trainSVM ${OpenCV_LIBS} )
ADD_EXECUTABLE( trainOCR trainOCR.cpp OCR.cpp )
TARGET_LINK_LIBRARIES( trainOCR ${OpenCV_LIBS} )
ADD_EXECUTABLE( evalOCR evalOCR.cpp OCR.cpp )
TARGET_LINK_LIBRARIES( evalOCR ${OpenCV_LIBS} )
SET(RESOURCES
README.txt
SVM.xml
OCR.xml
test
)
foreach(f ${RESOURCES})
file( COPY ${f} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
endforeach(f)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.