This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is the main script to automatically mount | |
# a USB device to the data folder and copy the required data | |
# Data folder: /your/data/folder/path/ (the folder where the data is stored) | |
# Target folder: /media/usb/ (the mounted USB folder, where the data is copied to) | |
#exec >> /home/your_directory/backup-sync.log 2>&1 | |
RED='\033[0;31m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Script Name: bronkhorst-propar_set_bronkhorst_massflow_controller.py | |
Author: Stefan Herdy | |
Date: 13.12.2019 | |
Description: | |
This script can be used to controll the Bronkhorst Gas Flow Controllers | |
Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Script Name: read-serial-string-with-arduino.c | |
Author: Stefan Herdy | |
Date: 23.10.2019 | |
Description: | |
This function can be used to read serial string that is passed to an arduino. | |
In our project, we used a Raspberry Pi with a camera and performed some image processing on the captured images and passed the image information to the arduino to steer a car. | |
This script was part of our project to create an autonomous driving car which can follow a line with a certain color. | |
Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Script Name: finite_state_machine_arduino_drive_car.c | |
Author: Stefan Herdy | |
Date: 15.12.2019 | |
Description: | |
This script was used in our student project in 2019 to controll a car to autonomously follow a line of a specific colour. | |
A Raspberry Pi was used to capture images and analyse them to pass the image information via a serial connection to the arduino. | |
The arduino used this information to controll the car. | |
Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Script Name: python_edge_detection_for_quality_inspection.py | |
Author: Stefan Herdy | |
Date: 18.08.2019 | |
Description: | |
This script iterates through a folder and performs an edge detection to all jpg and png-images in the folder. | |
The provided function was used to monitor the additive manufacturing of steel and titanium parts (selective laser sintering). | |
During the manufactoring process, the images were analysed and anomalies in the powder bed of the 3D printing machine were detected. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
from skimage.io import imread | |
from torch.utils import data | |
from torchvision import transforms | |
import matplotlib.pyplot as plt | |
import numpy as np | |
class RandomFlip: | |
def __init__(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import yaml | |
import requests | |
import cv2 | |
import numpy as np | |
import ndjson | |
import os | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
Script Name: fft.py | |
Author: Stefan Herdy | |
Date: 06.02.2021 | |
Description: | |
This script performs high pass filtering and fast fourier transformation (fft) to show sharp parts of an image. | |
Usage: | |
- change the image name/ image path and run the script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
Script Name: curvature.py | |
Author: Stefan Herdy | |
Date: 14.11.2023 | |
Description: | |
This script performs a curvature analysis on binary masks | |
Usage: | |
- Change the the path to the path to your binary mask and execute the script. |
OlderNewer