Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
better cv4 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclavblazek committed Jul 22, 2020
1 parent 22d9a43 commit 2e33edd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mapproxy/src/mapproxy/generator/tms-raster-patchwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

#include "imgproc/rastermask/cvmat.hpp"
#include "imgproc/png.hpp"
#include "imgproc/cvcompat.hpp"

#include "jsoncpp/json.hpp"
#include "jsoncpp/as.hpp"
Expand Down Expand Up @@ -137,7 +136,7 @@ cv::Mat TmsRasterPatchwork::generateTileImage(const vts::TileId &tileId) const
}());

const auto label(boost::lexical_cast<std::string>(tileId));
const auto face(IMGPROC_FONT_HERSHEY(COMPLEX_SMALL));
const auto face(cv::FONT_HERSHEY_COMPLEX_SMALL);
const int thickness(1);
int baseline;
const auto size(cv::getTextSize(label, face, 1.0
Expand Down

0 comments on commit 2e33edd

Please sign in to comment.