Developer Camp 2018

Location Humans are creatures of habit! Because I attendend the BarCamp 2017 at Uni Würzburg I went straight to the M2 building. I should’ve read my emails more thoroughly, actually building Z6 of University Würzburg was this event’s location. And the campus is quite large so I had to walk a bit. Bummer! The Sessions…

Setup Raspberry Pi SD-Card on MacOS

To setup the SD Card on MacOS follow these steps Download the Raspbian Image Insert the SD-Card into the reader Open a terminal Find out the device’s name by typing diskutil list Erase the contents / format card to FAT32 sudo diskutil eraseDisk FAT32 RASPBIAN MBRFormat /dev/disk2 sudo diskutil unmountDisk /dev/disk2 Copy image to card…

Introduction to Pandas

Pandas is a data analyzing tool. Together with numpy and matplotlib it is part of the data science stack You can install it via pip install pandas Working with real data The data set we are using is the astronauts data set from kaggle: Download Data Set NASA Astronauts from Kaggle During this introduction we…

Python Pipfile and pipenv

  If You already read Python pip and virtualenv you are familiar with the way python handles requirements. but lo and behoild there is a new kid in town or actually two new kids on the block: Pipfile and Pipenv – both with with a capital “P”. If you are tired of creating and maintaining…

Intro to OpenCV with Python

Installation To work with OpenCV from python, you need to install it first. We additionally install numpy and matplotlib as well pip install opencv-python numpy matplotlib Reading Images from file After we import cv2 we can directly work with images like so: import cv2 img = cv2.imread(“doc_brown.png”) For showing the image, it is recommended to…

Python data classes

A cool new feature made its way into Python 3.7: Data classes. When You’ve already read my article about Lombok the concept isn’t so new at all: With the new decorator @dataclass You can save a huge amount of time because the methods __init__() __repr__() __eq__() are created for you! from dataclasses import dataclass @dataclass…