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/*
|
||||
|
||||
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.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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