From 3fecf806a2cf8d62cac5f5c298aa978a4779502c Mon Sep 17 00:00:00 2001 From: Avasam Date: Sat, 5 Aug 2023 12:56:39 -0400 Subject: [PATCH] Make capture settings the default settings and move hotkeys to the end --- res/settings.ui | 880 ++++++++++++++++++++++++------------------------ 1 file changed, 440 insertions(+), 440 deletions(-) diff --git a/res/settings.ui b/res/settings.ui index 1711b9b1..47ff8faa 100644 --- a/res/settings.ui +++ b/res/settings.ui @@ -47,77 +47,99 @@ 0 - + - Hotkeys + Capture Settings - + - 190 - 189 - 81 - 24 + 10 + 200 + 261 + 22 - - Qt::NoFocus + + true + + + + + + 10 + 13 + 141 + 16 + + + + This value will limit the amount of frames per second that AutoSplit will run comparisons - Set Hotkey + Comparison FPS Limit: - + - 90 - 10 - 91 - 22 + 10 + 40 + 141 + 24 - + Live Capture Region - + true + + false + - + 10 - 73 - 71 + 70 + 151 16 - Undo Split: + Capture method: - + - 90 - 70 - 91 - 22 + 150 + 10 + 51 + 24 - - + + QAbstractSpinBox::CorrectToNearestValue - - true + + 20 + + + 240 + + + 60 - + - 190 - 39 - 81 + 200 + 176 + 71 24 @@ -125,714 +147,692 @@ Qt::NoFocus - Set Hotkey + Browse... - + 10 - 133 - 71 + 120 + 151 16 - Pause: + Capture device: - + - 190 - 69 - 81 - 24 + 10 + 90 + 261 + 22 - - Qt::NoFocus - - - Set Hotkey - - + + + false + - 90 - 40 - 91 + 10 + 140 + 261 22 - - - - - true + + Scanning for existing devices... - + 10 - 103 - 71 + 180 + 151 16 - Skip Split: + Screenshots folder: - + - 190 - 9 - 81 + 10 + 220 + 181 24 - - Qt::NoFocus - - Set Hotkey - - - - - - 190 - 99 - 81 - 24 - + Open screenshots on capture - - Qt::NoFocus + + true - - Set Hotkey + + false - + + + + Image Settings + + - 190 - 159 - 81 - 24 + 144 + 220 + 71 + 31 - - Qt::NoFocus + + + Segoe UI + 8 + true + - Set Hotkey - - - - - - 90 - 190 - 91 - 22 - + README - - + + + 0 + 0 + - - true + + This is a workaround because custom_image_settings_info_label simply will not open links with a left click no matter what we tried. - + - 190 - 129 - 81 + 180 + 70 + 91 24 - - Qt::NoFocus + + After an image is matched, this is the amount of time in millseconds that will be delayed before splitting. - - Set Hotkey + + QAbstractSpinBox::CorrectToNearestValue + + + 999999999 - + 10 - 13 - 71 - 16 + 170 + 261 + 24 - Start / Split: + Enable auto reset image + + + true - + - 90 - 130 - 91 + 180 + 10 + 91 22 - - - - - true + + L2 Norm: +This method should be fine to use for most cases. +It finds the difference between each pixel, squares it, sums it over the entire image and takes the square root. +This is very fast but is a problem if your image is high frequency. +Any translational movement or rotation can cause similarity to be very different. + +Histograms: +An explanation on Histograms comparison can be found here +https://mpatacchiola.github.io/blog/2016/11/12/the-simplest-classifier-histogram-intersection.html +This is a great method to use if you are using several masked images. +> This algorithm is particular reliable when the colour is a strong predictor of the object identity. +> The histogram intersection [...] is robust to occluding objects in the foreground. + +Perceptual Hash: +An explanation on pHash comparison can be found here +http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html +It is highly recommended to NOT use pHash if you use masked images, or it'll be very inaccurate. + + + L2 Norm + + + + + Histograms + + + + + pHash + + - + 10 - 186 - 71 - 32 + 13 + 161 + 16 - Toggle auto -reset image + Default Comparison Method: - + 10 - 43 - 71 - 16 + 130 + 261 + 24 - Reset: + Loop Last Split Image to First Split Image + + + false + + + false - + - 90 - 160 - 91 - 22 + 10 + 200 + 261 + 61 + + + 8 + true + + - + <html><head/><body><p>Image settings and flags can be set per image through the image file name. These will override the default values. View the <a href="https://github.com/{GITHUB_REPOSITORY}#readme"><span style="text-decoration: underline; color:#0000ff;">README</span></a> for full details on all available custom image settings.</p></body></html> - + true - + 10 - 163 - 71 - 16 + 40 + 171 + 24 - Screenshot: + Default Similarity Threshold: - + - 90 + 180 + 40 + 51 + 24 + + + + Threshold that the live similarity will need to go above to consider the image a match. + + + QAbstractSpinBox::CorrectToNearestValue + + + 1.000000000000000 + + + 0.010000000000000 + + + 0.900000000000000 + + + + + + 180 100 91 - 22 + 24 - - + + The amount of time in seconds that comparison will be paused before moving to the next image. - - true + + QAbstractSpinBox::CorrectToNearestValue + + + 2 + + + 999999999.000000000000000 + + + 1.000000000000000 + + + 10.000000000000000 - - - - Capture Settings - - + 10 - 200 - 261 - 22 + 103 + 171 + 16 - - true + + Default Pause Time (sec): - + 10 - 13 - 141 + 73 + 171 16 - - This value will limit the amount of frames per second that AutoSplit will run comparisons - - Comparison FPS Limit: + Default Delay Time (ms): - + 10 - 40 - 141 + 150 + 261 24 - Live Capture Region + Start also Resets - true + false false - + custom_image_settings_info_label + default_delay_time_spinbox + enable_auto_reset_image_checkbox + default_comparison_method_combobox + default_comparison_method_combobox_label + loop_splits_checkbox + default_similarity_threshold_label + default_similarity_threshold_spinbox + default_pause_time_spinbox + default_pause_time_label + default_delay_time_label + readme_link_button + start_also_resets_checkbox + + + + Hotkeys + + - 10 - 70 - 151 - 16 + 190 + 189 + 81 + 24 + + Qt::NoFocus + - Capture method: + Set Hotkey - + - 150 + 90 10 - 51 - 24 + 91 + 22 - - QAbstractSpinBox::CorrectToNearestValue - - - 20 - - - 240 + + - - 60 + + true - + - 200 - 176 + 10 + 73 71 - 24 + 16 - - Qt::NoFocus - - Browse... + Undo Split: - + - 10 - 120 - 151 - 16 + 90 + 70 + 91 + 22 - Capture device: + + + + true - + - 10 - 90 - 261 - 22 + 190 + 39 + 81 + 24 - - - - false + + Qt::NoFocus + + + Set Hotkey + + 10 - 140 - 261 - 22 + 133 + 71 + 16 - - Scanning for existing devices... + + Pause: - + - 10 - 180 - 151 - 16 + 190 + 69 + 81 + 24 + + Qt::NoFocus + - Screenshots folder: + Set Hotkey - + - 10 - 220 - 181 - 24 + 90 + 40 + 91 + 22 - Open screenshots on capture + - + true - - false - - - - - Image Settings - - + - 144 - 220 + 10 + 103 71 - 31 + 16 - - - Segoe UI - 8 - true - - - README + Skip Split: - - - 0 - 0 - + + + + + 190 + 9 + 81 + 24 + - - This is a workaround because custom_image_settings_info_label simply will not open links with a left click no matter what we tried. + + Qt::NoFocus + + + Set Hotkey - + - 180 - 70 - 91 + 190 + 99 + 81 24 - - After an image is matched, this is the amount of time in millseconds that will be delayed before splitting. - - - QAbstractSpinBox::CorrectToNearestValue + + Qt::NoFocus - - 999999999 + + Set Hotkey - + - 10 - 170 - 261 + 190 + 159 + 81 24 - - Enable auto reset image + + Qt::NoFocus - - true + + Set Hotkey - + - 180 - 10 + 90 + 190 91 22 - - L2 Norm: -This method should be fine to use for most cases. -It finds the difference between each pixel, squares it, sums it over the entire image and takes the square root. -This is very fast but is a problem if your image is high frequency. -Any translational movement or rotation can cause similarity to be very different. - -Histograms: -An explanation on Histograms comparison can be found here -https://mpatacchiola.github.io/blog/2016/11/12/the-simplest-classifier-histogram-intersection.html -This is a great method to use if you are using several masked images. -> This algorithm is particular reliable when the colour is a strong predictor of the object identity. -> The histogram intersection [...] is robust to occluding objects in the foreground. - -Perceptual Hash: -An explanation on pHash comparison can be found here -http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html -It is highly recommended to NOT use pHash if you use masked images, or it'll be very inaccurate. + + + + + true - - - L2 Norm - - - - - Histograms - - - - - pHash - - - + - 10 - 13 - 161 - 16 + 190 + 129 + 81 + 24 + + Qt::NoFocus + - Default Comparison Method: + Set Hotkey - + 10 - 130 - 261 - 24 + 13 + 71 + 16 - Loop Last Split Image to First Split Image - - - false - - - false + Start / Split: - + - 10 - 200 - 261 - 61 + 90 + 130 + 91 + 22 - - - 8 - true - - - <html><head/><body><p>Image settings and flags can be set per image through the image file name. These will override the default values. View the <a href="https://github.com/{GITHUB_REPOSITORY}#readme"><span style="text-decoration: underline; color:#0000ff;">README</span></a> for full details on all available custom image settings.</p></body></html> + - + true - + 10 - 40 - 171 - 24 + 186 + 71 + 32 - Default Similarity Threshold: + Toggle auto +reset image - + - 180 - 40 - 51 - 24 + 10 + 43 + 71 + 16 - - Threshold that the live similarity will need to go above to consider the image a match. - - - QAbstractSpinBox::CorrectToNearestValue - - - 1.000000000000000 - - - 0.010000000000000 - - - 0.900000000000000 + + Reset: - + - 180 - 100 + 90 + 160 91 - 24 - - - - The amount of time in seconds that comparison will be paused before moving to the next image. - - - QAbstractSpinBox::CorrectToNearestValue - - - 2 - - - 999999999.000000000000000 - - - 1.000000000000000 - - - 10.000000000000000 - - - - - - 10 - 103 - 171 - 16 + 22 - Default Pause Time (sec): + + + + true - + 10 - 73 - 171 + 163 + 71 16 - Default Delay Time (ms): + Screenshot: - + - 10 - 150 - 261 - 24 + 90 + 100 + 91 + 22 - Start also Resets - - - false + - - false + + true - custom_image_settings_info_label - default_delay_time_spinbox - enable_auto_reset_image_checkbox - default_comparison_method_combobox - default_comparison_method_combobox_label - loop_splits_checkbox - default_similarity_threshold_label - default_similarity_threshold_spinbox - default_pause_time_spinbox - default_pause_time_label - default_delay_time_label - readme_link_button - start_also_resets_checkbox