Skip to content

Instantly share code, notes, and snippets.

ExifTool Version Number : 12.40
File Name : P0090360.jpg
Directory : .
File Size : 72 MiB
File Modification Date/Time : 2022:09:01 11:12:34+02:00
File Access Date/Time : 2022:09:01 12:12:33+02:00
File Inode Change Date/Time : 2022:09:01 12:13:20+02:00
File Permissions : -rwx------
File Type : JPEG
File Type Extension : jpg
Dict{String, Any} with 45 entries:
"<invalid #15>" => "33.37"
"EXIF_TAG_SENSING_METHOD" => "One-chip color area sensor"
"<invalid #4>" => "13, 18.2852, 0"
"EXIF_TAG_FLASH_PIX_VERS… => "FlashPix Version 1.0"
"EXIF_TAG_EXIF_VERSION" => "Exif Version 2.3"
"EXIF_TAG_COMPRESSION" => "JPEG compression"
"EXIF_TAG_FOCAL_PLANE_RE… => "Centimeter"
"EXIF_TAG_SOFTWARE" => "Capture One 22 Windows"
"EXIF_TAG_EXPOSURE_PROGR… => "Creative program (biased toward fast shutter sp…
using ReinforcementLearningBase
using Random
using ReinforcementLearning
using Flux
"""
ReinforcementLearning environment for the 15 Puzzle game.
As Julia has its arrays in column major form, the game is transposed from the human version
"""
@PaulDebus
PaulDebus / mwe.py
Last active August 21, 2018 09:17
Minimal working example for https://github.com/vispy/vispy/issues/1508
from vispy import scene
import numpy as np
from PySide2 import QtGui, QtWidgets, QtCore
class MyCanvas2D(scene.SceneCanvas):
def __init__(self, vertices, faces):
super(MyCanvas2D, self).__init__(keys=None, bgcolor="white")
self.unfreeze()
self.view = self.central_widget.add_view()
@PaulDebus
PaulDebus / vispy-sys_info.txt
Created August 13, 2018 07:12
vispy sys_info
Platform: Linux-4.15.0-30-generic-x86_64-with-Ubuntu-18.04-bionic
Python: 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0]
NumPy: 1.15.0
Backend: PyQt5
pyqt4: None
pyqt5: ('PyQt5', '5.11.2', '5.11.1')
pyside: None
pyglet: pyglet 1.3.2
glfw: glfw (3, 2, 1)
sdl2: None
@PaulDebus
PaulDebus / pyqt_test_alt_p.py
Created February 28, 2018 08:02
Small pyqt test for not working alt-p
PyQt5 import QtGui, QtCore, QtWidgets
class Window(QtWidgets.QWidget):
def __init__(self):
QtWidgets.QWidget.__init__(self)
self.shortcut = QtWidgets.QShortcut(QtGui.QKeySequence(QtCore.Qt.ALT + QtCore.Qt.Key_O),
self)
self.shortcut.activated.connect(self.print_alt_o)
self.shortcut = QtWidgets.QShortcut(QtGui.QKeySequence(QtCore.Qt.ALT + QtCore.Qt.Key_P),
self)
@PaulDebus
PaulDebus / model.py
Last active December 14, 2017 18:13
import trimesh
class Model(Observable):
def __init__(self, mesh=None):
super(Model, self).__init__()
self.mesh = mesh
self.viewpoints = {}
self.flightspaths = {}
@property
! Compile xft: Attempt to find a visual with the given bit depth;
! URxvt*depth: bitdepth
! Compile xft: Turn on/off double-buffering for xft (default
! URxvt*buffered: boolean
! Create the window with the specified X window geometry [default
! URxvt*geometry: geom
! Use the specified colour as the windows background colour [default
@PaulDebus
PaulDebus / timeline.md
Last active August 29, 2015 14:22
Timeline für meine Bachelorarbeit

Zeitplan / Meilensteine für die Bachelor Arbeit

Die Bachelorarbeit besteht aus folgenden Meilensteinen:
Die Annahme ist ein Beginn der Bearbeitung 15.06.2015 und damit der Abgabetermin am 10.08.2015.

Literaturrecherche

Paket Zeitaufwand Abschlussdatum
Recherche zu Mikrokontrollern -- --
Recherche zu Sensorhardware -- --
Recherche zu bestehenden Softwarelösungen -- --

Top down Ansatz:

Benutzung des Interfaces überlegen und es so festlegen. Hier Anhand von mehreren Anwendungen, die so möglich sein sollen. Zum einfacheren Verständnis verwende ich Pseudocode. Später wird in C++ gearbeitet

Live View

Im Live View soll das für First Sensor zur Messedemonstration erstellte Programm ohne große Anpassungen verwendet werden können.

Enthaltene Elemente:

  • Mehrere Configs pro Sensor
    • Async Abfrage von Messwerten