Skip to content

Instantly share code, notes, and snippets.

Lucas Martins Mendes Luctins

Block or report user

Report or block Luctins

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Luctins
Luctins / dithering.pde
Created Feb 24, 2020
Dithering code example
View dithering.pde
PImage img;
int x_max = 0, y_max = 0, _x_max = 0, _y_max = 0 ;
final int inc = 10;
final int color_num = 4;
final float e[] = {7.0/16.0, 3.0/16.0, 5.0/16.0, 1.0/16.0};
void setup()
{
@Luctins
Luctins / debug.h
Last active Jul 9, 2019
Pack of helper and debug macros for C
View debug.h
#ifndef DEBUG_HELPER_H
#define DEBUG_HELPER_H
/**
@file debug_helper.h
@author Lucas Martins Mendes
@brief debug macros
*/
/*--Used to paste tokens together--*/
@Luctins
Luctins / findColor.py
Created Dec 3, 2017
OpenCV experiment
View findColor.py
import cv2 as cv
import numpy as np
def nothing(x):
pass
#img = cv.imread('fil_img.jpg')
cap = cv.VideoCapture(0)
@Luctins
Luctins / gSync.sh
Created Oct 13, 2017
simple script for cli gdrive sinching with grive tool
View gSync.sh
cd ~/googleDrive
grive -V --log-http logs/synclogHTTP.txt -l logs/synclog.txt -P
You can’t perform that action at this time.