mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-20 19:33:55 +08:00
Training guide updates (#24033)
* add new images * update boxes * copy updates and fix checkmark spacing * update wide images and boxes * tune path and smaller triangle * tune bounding boxes * clean up * same triangle as c3 * revert panda * optimize images * Revert "revert panda" This reverts commit f66aac85a01135d68d0c51ad4c383b7cd23ef86f. * add comment * add new step18 * final fixes * pixel perfect old-commit-hash: 405ecbced38e27e1b5ce14b30042b6ccb9acf254
This commit is contained in:
@@ -2,3 +2,6 @@
|
||||
|
||||
echo "compressing training guide images"
|
||||
optipng -o7 -strip all training/* training_wide/*
|
||||
|
||||
# This can sometimes provide smaller images
|
||||
# mogrify -quality 100 -format jpg training_wide/* training/*
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:303ea66d930983468a55000e5a704e19ae9e0ce991d795fbae78ebb505d448ea
|
||||
size 1619109
|
||||
oid sha256:4ba69dd2458bb67f30189dc41f6ebb1d77079cf18efc14ab65a7d7329c046832
|
||||
size 1508871
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c7cdd7f50f3bfbc59e21fbb47f73f788870d0f6e23f534b3ea48cd24b4d2cf0a
|
||||
size 47621
|
||||
oid sha256:8d5f69386d33431e5ae620cb627eb4b4547103875f40fc4fb58b7f42fde8dc1f
|
||||
size 40667
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b889dd001fe04003606ef9c0cd16ad56fd7062b1885288204d2e1360adbbc46
|
||||
size 704674
|
||||
oid sha256:d6cf7bf4aeb2be0b31a3231c5ed87d5d0f8cf4c46f2e804db69b0bc298d6d009
|
||||
size 936463
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2e395cdf4d84e6d68ffe1df24f3a2ea1fd0529c71d4ab7a3f3bb5983f1d3a872
|
||||
size 50736
|
||||
oid sha256:818fdf1be7eea3e2285ba0b3a02b2b4d702d6a16f993ecb03c4453fefe883365
|
||||
size 43526
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:81905c334375199d61b7a1c8498b5bb9d4619c22acfe57c00e634a3323d784f6
|
||||
size 761111
|
||||
oid sha256:e940f78e3936d4092db698307526923c4b777d64f656ec909fea4d02ac43c09a
|
||||
size 969324
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8cc8a2496cfdcbdf3806499dc99058106f72a511a5428ebb808653be175651d
|
||||
size 33754
|
||||
oid sha256:6a8f8c4ed9215a4049db3e5bd4a0d24bf8ccf600a56fb65da1b0c4e7b36997be
|
||||
size 30053
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7bb21e03badacd4a7942c47a90428a99fd01199c2f2ebbea0ceb91313917f8ba
|
||||
size 1169756
|
||||
oid sha256:475a2719361e97ef6383520ca19da2c14322c1193ae1a2658965f209ff112901
|
||||
size 1606262
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4a99026e3f00db962351b4923776566729ee97068c10d656c82f035d069e797a
|
||||
size 724928
|
||||
oid sha256:5d8de06629394396cb71e4b6c89b35e32f85c5f2fe006facfeeef6375cc0e295
|
||||
size 940727
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9b0f046461381618d7b57f36f89b65ce35a366601fb89fd9d3b0f8528ec9a63
|
||||
size 33214
|
||||
oid sha256:7ecdc63da690af369c924d2c8c53916acaeab63d5ec0590e3954d0b5724c430b
|
||||
size 29904
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f8f5b0736866f6f2a8fde41c3bce683cca17bafb823dc466d76adf9df25fd66
|
||||
size 40950
|
||||
oid sha256:cc430ace2b8880735738b27d1983f1a2670304a75843b1a37228c36388c72528
|
||||
size 36726
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba56bcc00af21885c5dd32973d789cbe4ac58dce5eeb3bd7356b7554d8f60ab0
|
||||
size 1969282
|
||||
oid sha256:b177a701308e2a353d5d16ab3baf5d4ad79d6c23f08dd9d8652ee741af513952
|
||||
size 1485057
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:60c4e5a762281f127732532ccac9adec5abb4a559501f698173d32ee7d30be7b
|
||||
size 34111
|
||||
oid sha256:270ea961f50b66d8ab659df9b3d2f59ef2f4b3267c6c76ea00c8ec9c1f15be48
|
||||
size 30417
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e2f9667baf17139aaabf505752d9ffd233600f36efe9753c8c1ad1094f052182
|
||||
size 737151
|
||||
oid sha256:8c1c347c4d464b5498386a127b00aab623dffa2bcdf430307e97b7288b991d4e
|
||||
size 812312
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4cbe4a01bbe9d56703db36fefbc0768f79814ad95bf36ce27e2e74eacb5e4167
|
||||
size 914915
|
||||
oid sha256:f6e6dbdd66ca6c67a75683dd8512be737d2fb73f14eec4caa38a6d13e2654e57
|
||||
size 1085837
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b074c39500ea2bdcef5e0f9390e1c8be3956560eba5845776f7d259041057d2
|
||||
size 39582
|
||||
oid sha256:9abefa4e4e47b44187918048cc904f41a8cb934de776c16a7e623ca3d05b6661
|
||||
size 33897
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8cbc10374d9cffba4add486324cf4567bb59a5811ecf99f86d0110729b1943e1
|
||||
size 1055184
|
||||
oid sha256:33301fa4a27e2a8d724ce3579fbf07c7c908a218518a6fb374f09c3f10433344
|
||||
size 1102561
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7f3cb981a8ec9d86f554d658443f375776a2b5b331c5a7ee0e392a27d84c586
|
||||
size 735469
|
||||
oid sha256:54fded1cc49351f4e33458cc6f2bac0fc6995524eb52886a87f9fa7c7b38ce13
|
||||
size 837613
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1574491ee81245a22f8c5344b49c332c570e23e9519cadd58269037cb5df60fb
|
||||
size 626523
|
||||
oid sha256:b577e0531165155b86179443025aeea3477649e82ff6076811b17634b0e5515e
|
||||
size 723606
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b3ffb07f2118875adc5d320d527c75867d68e7792e4a6411a31fc63832f6dd4
|
||||
size 840990
|
||||
oid sha256:ae4acbde22c45acd8b7ea6e709a8dc4cb3cf12ee330073051d8c106e71bdfadf
|
||||
size 891677
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34be7cad438df7dec26e3210f7d09da0ee4295a99956e3c79993f4a51257d1a6
|
||||
size 755578
|
||||
oid sha256:89d27d040a04508f755741929158545f4d2780c728021bf02446eb0a2e38aaa6
|
||||
size 874812
|
||||
|
||||
Binary file not shown.
@@ -23,7 +23,7 @@ void TrainingGuide::mouseReleaseEvent(QMouseEvent *e) {
|
||||
|
||||
if (boundingRect[currentIndex].contains(e->x(), e->y())) {
|
||||
if (currentIndex == 9) {
|
||||
const QRect yes = QRect(692, 842, 492, 148);
|
||||
const QRect yes = QRect(707, 804, 531, 164);
|
||||
Params().putBool("RecordFront", yes.contains(e->x(), e->y()));
|
||||
}
|
||||
currentIndex += 1;
|
||||
|
||||
@@ -25,52 +25,52 @@ private:
|
||||
int currentIndex = 0;
|
||||
|
||||
// Bounding boxes for each training guide step
|
||||
const QRect continueBtnStandard = {1610, 0, 310, 1080};
|
||||
const QRect continueBtnStandard = {1620, 0, 300, 1080};
|
||||
QVector<QRect> boundingRectStandard {
|
||||
QRect(650, 710, 720, 190),
|
||||
QRect(112, 804, 619, 166),
|
||||
continueBtnStandard,
|
||||
continueBtnStandard,
|
||||
QRect(1442, 565, 230, 310),
|
||||
QRect(1515, 562, 133, 60),
|
||||
QRect(1476, 565, 253, 308),
|
||||
QRect(1501, 529, 184, 108),
|
||||
continueBtnStandard,
|
||||
QRect(1580, 630, 215, 130),
|
||||
QRect(1210, 0, 485, 590),
|
||||
QRect(1460, 400, 375, 210),
|
||||
QRect(166, 842, 1019, 148),
|
||||
QRect(1460, 210, 300, 310),
|
||||
QRect(1613, 665, 178, 153),
|
||||
QRect(1220, 0, 420, 730),
|
||||
QRect(1335, 499, 440, 147),
|
||||
QRect(112, 820, 996, 148),
|
||||
QRect(1412, 199, 316, 333),
|
||||
continueBtnStandard,
|
||||
QRect(1375, 80, 545, 1000),
|
||||
QRect(1237, 63, 683, 1017),
|
||||
continueBtnStandard,
|
||||
QRect(1610, 130, 280, 800),
|
||||
QRect(1385, 485, 400, 270),
|
||||
QRect(1455, 110, 313, 860),
|
||||
QRect(1253, 519, 383, 228),
|
||||
continueBtnStandard,
|
||||
continueBtnStandard,
|
||||
QRect(1036, 769, 718, 189),
|
||||
QRect(201, 769, 718, 189),
|
||||
QRect(630, 804, 626, 164),
|
||||
QRect(108, 804, 426, 164),
|
||||
};
|
||||
|
||||
const QRect continueBtnWide = {1850, 0, 310, 1080};
|
||||
const QRect continueBtnWide = {1840, 0, 320, 1080};
|
||||
QVector<QRect> boundingRectWide {
|
||||
QRect(654, 721, 718, 189),
|
||||
QRect(112, 804, 618, 164),
|
||||
continueBtnWide,
|
||||
continueBtnWide,
|
||||
QRect(1690, 570, 165, 300),
|
||||
QRect(1690, 560, 133, 60),
|
||||
QRect(1641, 558, 210, 313),
|
||||
QRect(1662, 528, 184, 108),
|
||||
continueBtnWide,
|
||||
QRect(1820, 630, 180, 155),
|
||||
QRect(1360, 0, 460, 620),
|
||||
QRect(1570, 400, 375, 215),
|
||||
QRect(167, 842, 1018, 148),
|
||||
QRect(1610, 210, 295, 310),
|
||||
QRect(1814, 621, 211, 170),
|
||||
QRect(1350, 0, 497, 755),
|
||||
QRect(1553, 516, 406, 112),
|
||||
QRect(112, 804, 1126, 164),
|
||||
QRect(1598, 199, 316, 333),
|
||||
continueBtnWide,
|
||||
QRect(1555, 90, 610, 990),
|
||||
QRect(1364, 90, 796, 990),
|
||||
continueBtnWide,
|
||||
QRect(1600, 140, 280, 790),
|
||||
QRect(1385, 490, 750, 270),
|
||||
QRect(1593, 114, 318, 853),
|
||||
QRect(1379, 511, 391, 243),
|
||||
continueBtnWide,
|
||||
continueBtnWide,
|
||||
QRect(1138, 755, 718, 189),
|
||||
QRect(303, 755, 718, 189),
|
||||
QRect(630, 804, 626, 164),
|
||||
QRect(108, 804, 426, 164),
|
||||
};
|
||||
|
||||
QString img_path;
|
||||
|
||||
Reference in New Issue
Block a user