diff --git a/.gitignore b/.gitignore index 002e301..bbcd29e 100755 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ cmake-build-debug/* .idea/Image2Char.iml .idea/modules.xml .idea/workspace.xml +.vscode/*.json +.vscode/* cmake-build-debug/ \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index 9cb3539..0000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "configurations": [ - { - "name": "Mac", - "includePath": [ - "${workspaceFolder}/**", - "/usr/local/Cellar/opencv/3.4.1_5/include/opencv" - ], - "defines": [], - "macFrameworkPath": [ - "/System/Library/Frameworks", - "/Library/Frameworks" - ], - "compilerPath": "/usr/bin/clang", - "cStandard": "c11", - "cppStandard": "c++17", - "intelliSenseMode": "clang-x64" - } - ], - "version": 4 -} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 4bbfe3c..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense para saber los atributos posibles. - // Mantenga el puntero para ver las descripciones de los existentes atributos - // Para más información, visite: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "imageSegmentation", - "type": "cppdbg", - "request": "launch", - "program": "enter program name, for example ${workspaceFolder}/a.out", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": true, - "MIMode": "lldb" - } - ] -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 2b32f0d..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "files.associations": { - "__functional_base": "cpp", - "array": "cpp", - "istream": "cpp", - "locale": "cpp", - "memory": "cpp", - "tuple": "cpp", - "utility": "cpp", - "iosfwd": "cpp", - "ostream": "cpp", - "__config": "cpp", - "__nullptr": "cpp", - "cstddef": "cpp", - "exception": "cpp", - "initializer_list": "cpp", - "new": "cpp", - "stdexcept": "cpp", - "type_traits": "cpp", - "typeinfo": "cpp", - "algorithm": "cpp", - "__locale": "cpp", - "string_view": "cpp", - "iterator": "cpp", - "vector": "cpp", - "__split_buffer": "cpp", - "deque": "cpp", - "string": "cpp", - "iostream": "cpp", - "chrono": "cpp", - "limits": "cpp", - "ratio": "cpp", - "__tree": "cpp", - "bitset": "cpp", - "map": "cpp" - } -} \ No newline at end of file diff --git a/README.md b/README.md index 223fb38..a863e3d 100755 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ These are examples of the output produced from the current code. These is example of the output produced from the current code. ![](https://i.imgur.com/GMqsSxc.jpg) +This is an example of the output as labeled components for MatchScore evaluation. +![](https://i.imgur.com/ZDrO8G5.png) # Dependencies * OpenCV: 3.0 or newer. @@ -34,7 +36,7 @@ mkdir build cd build cmake .. make -./Image2Lines the_path_to_the_img +./Image2Lines the_path_to_the_img the_path_to_the_output_directory ``` the output will be: * N final lines, each line is named 'line_i.jpg' where i is the line number.