Skip to content

Commit

Permalink
Changes for 2018.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister Subotto authored and Mister Subotto committed Feb 9, 2018
1 parent a4ffda4 commit d2a310a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions qt/Subtracker/beginningpanel.cpp
Expand Up @@ -19,8 +19,8 @@ BeginningPanel::BeginningPanel(MainWindow *main, QWidget *parent) :
ui->setupUi(this);
this->set_main_on_children();
this->main->get_main_video()->set_following(this->ui->frame);
this->load_image_filename("/home/giovanni/progetti/subotto/subtracker/data/ref2016-3.jpg", "image");
this->load_image_filename("/home/giovanni/progetti/subotto/subtracker/data/ref_mask2016-3.png", "mask");
this->load_image_filename("/afs/uz.sns.it/user/subotto/subtracker/data/ref2018.jpeg", "image");
this->load_image_filename("/afs/uz.sns.it/user/subotto/subtracker/data/ref_mask2018.png", "mask");
}

BeginningPanel::~BeginningPanel()
Expand Down
2 changes: 1 addition & 1 deletion qt/Subtracker/framesettings.h
Expand Up @@ -11,7 +11,7 @@ struct FrameSettings {
// The four corners of the table, in this order: red defence, red attack, blue defence, blue attack
//cv::Point2f table_corners[4] = { { 100.0, 400.0 }, { 600.0, 400.0 }, { 600.0, 100.0 }, { 100.0, 100.0 } };
//std::vector< cv::Point2f > ref_corners = {{ 119.0, 382.0 }, { 547.0, 379.0 }, { 550.0, 122.0 }, { 116.0, 124.0 }};
std::vector< cv::Point2f > ref_corners = {{ 131.0, 361.0 }, { 498.0, 338.0 }, { 482.0, 115.0 }, { 117.0, 141.0 }};
std::vector< cv::Point2f > ref_corners = {{ 181.0, 334.0 }, { 516.0, 306.0 }, { 505.0, 98.0 }, { 158.0, 127.0 }};
float intermediate_alpha = 1.0;
//cv::Size intermediate_size = { 400, 300 };
// OpenCV uses BGR colors; indexes are: 0 -> red foosmen, 1 -> blue foosmen, 2 -> ball
Expand Down

0 comments on commit d2a310a

Please sign in to comment.