


Line 5: We are now loading the image off of disk.Line 2: The first line is just telling the Python interpreter to import the OpenCV package.Image = cv2.imread("jurassic-park-tour-jeep.jpg")Įxecuting this Python snippet gives me the following result on my computer: Figure 2: Loading and Displaying the Jurassic Park tour jeep.Īs you can see, the image is now displaying. You’ll need it to start playing with some of the Python and OpenCV sample code.įirst, let’s load the image and display it on screen: # import the necessary packages Go ahead and download this image to your computer. If you need help installing OpenCV, check out the quick start guides on the OpenCV website.Ĭontinuing my obsession with Jurassic Park let’s use the Jurassic Park tour jeep as our example image to play with: Figure 1: Our example image - a Jurassic Park Tour Jeep. I’m also going to assume that you have OpenCV installed. This example will run on Python 2.7 and OpenCV 2.4.X/OpenCV 3.0+.įor this introduction to basic image processing, I’m going to assume that you have basic knowledge of how to create and execute Python scripts. Another alternative might be to get closer to the screen or to use a lower resolution(with scale 1.0).Looking for the source code to this post? Jump Right To The Downloads Section The steam workshop has several other font mods, so you can try a few to see which one is most readable for you. I personally use Better UI 2 - Verdana Font which is a submod of Better UI 2 (the font mod doesn't work alone). Some of these use more readable fonts or slightly bigger fonts. To improve the text with your resolution, you can use a font mod. Currently it seems most useful for people with a 4k display which can use a scale of 2 to make everything as big as with 1920x1080. war declaration) if you use a scale above 1 for resolutions of 1920x1080 or below. Besides the blurring that you noticed, it will cut of some dialogs(e.g. The experimantal gui scaling in the settings has several issues. eu4 doesn't have real gui scaling, so the amount of pixels that a text uses doesn't increase if you increase the resolution(some small resolutions might use different font sizes with less pixel). The size of the text in your first image seems normal for a resolution of 1920x1080.
