diff --git a/cpp/visual studio/CalculatorServer/RerollBotConsole/main.cpp b/cpp/visual studio/CalculatorServer/RerollBotConsole/main.cpp index 2da17e0..f016a3e 100644 --- a/cpp/visual studio/CalculatorServer/RerollBotConsole/main.cpp +++ b/cpp/visual studio/CalculatorServer/RerollBotConsole/main.cpp @@ -49,7 +49,7 @@ std::string get_time_str() void test_screenshot(image_recognition& recog, trading_menu& reader, const std::string& path) { - reader.update("german", recog.load_image(path)); + reader.update("english", recog.load_image(path)); std::cout << "can buy: " << reader.can_buy() << std::endl; diff --git a/cpp/visual studio/CalculatorServer/reader/reader_trading.cpp b/cpp/visual studio/CalculatorServer/reader/reader_trading.cpp index de6e206..3a369cc 100644 --- a/cpp/visual studio/CalculatorServer/reader/reader_trading.cpp +++ b/cpp/visual studio/CalculatorServer/reader/reader_trading.cpp @@ -43,8 +43,8 @@ const unsigned int trading_params::count_rows = 3; const float trading_params::off_x = 0; const float trading_params::off_y = 0; -const cv::Rect2f trading_params::pane_menu_offering = cv::Rect2f(cv::Point2f(trading_params::off_x + 0.62303, trading_params::off_y + 0.42088), cv::Point2f(trading_params::off_x + 0.78273, trading_params::off_y + 0.67813)); -const cv::Rect2f trading_params::pane_menu_offering_with_counter = cv::Rect2f(cv::Point2f(trading_params::off_x + 0.62303, trading_params::off_y + 0.46742), cv::Point2f(trading_params::off_x + 0.78181, trading_params::off_y + 0.72466)); +const cv::Rect2f trading_params::pane_menu_offering = cv::Rect2f(cv::Point2f(trading_params::off_x + 0.62303, trading_params::off_y + 0.4048), cv::Point2f(trading_params::off_x + 0.78253, trading_params::off_y + 0.66492)); +const cv::Rect2f trading_params::pane_menu_offering_with_counter = cv::Rect2f(cv::Point2f(trading_params::off_x + 0.62272, trading_params::off_y + 0.45134), cv::Point2f(trading_params::off_x + 0.78265, trading_params::off_y + 0.71442)); const cv::Rect2f trading_params::pane_menu_name = cv::Rect2f(cv::Point2f(trading_params::off_x + 0.64018, trading_params::off_y + 0.33630), cv::Point2f(trading_params::off_x + 0.75973, trading_params::off_y + 0.36261)); const cv::Rect2f trading_params::pane_menu_reroll = cv::Rect2f(cv::Point2f(trading_params::off_x + 0.68871, trading_params::off_y + 0.70479), cv::Point2f(trading_params::off_x + 0.71735, trading_params::off_y + 0.75452)); const cv::Rect2f trading_params::pane_menu_execute = cv::Rect2f(cv::Point2f(trading_params::off_x + 0.43937, trading_params::off_y + 0.76836), cv::Point2f(trading_params::off_x + 0.56126, trading_params::off_y + 0.79713)); diff --git a/cpp/visual studio/CalculatorServer/reader/version.cpp b/cpp/visual studio/CalculatorServer/reader/version.cpp index c09413e..db1ea90 100644 --- a/cpp/visual studio/CalculatorServer/reader/version.cpp +++ b/cpp/visual studio/CalculatorServer/reader/version.cpp @@ -11,7 +11,7 @@ using namespace web::http::client; // HTTP client features using namespace concurrency::streams; // Asynchronous streams /* IMPORTANT!!: this should be updated to the current release tag*/ -const std::string version::VERSION_TAG = std::string("v10.1"); +const std::string version::VERSION_TAG = std::string("v10.2"); void version::check_and_log() {