Skip to content

Instantly share code, notes, and snippets.

View ByteArts's full-sized avatar

Scott Pinkham ByteArts

View GitHub Profile
#!/usr/bin/env python
import cv2
import numpy as np
def make_custom_lut(src_img):
"""
Given a color source image that is 256 pixels tall, this will extract the color
values from the first pixel on each row of the image and use those pixels to
make a color LUT.
@ByteArts
ByteArts / Configuration.h
Created October 25, 2022 13:56
Marlin configuration for Ender 3 V2 with CR/BL Touch and filament sensor, using ProUI
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or