Skip to content

Instantly share code, notes, and snippets.

View GonzalezAnguita's full-sized avatar

Jose Tomas Gonzalez GonzalezAnguita

View GitHub Profile
@GonzalezAnguita
GonzalezAnguita / ImageProcessing.cpp
Created May 24, 2017 23:15
HSV Image Processing
+(int *) processImageWithHsv:(cv::Mat&)rgb_image {
cv::Mat hsv_image;
cvtColor(rgb_image, hsv_image, CV_RGB2HSV);
// Quanta Ratio
int scale = 10;
int images_amount = 1;
int image_channels[] = {0, 1, 2};
@GonzalezAnguita
GonzalezAnguita / UIViewExtension.swift
Last active February 9, 2019 12:56
Border and corner extension for UIView - Swift 3
//
// Credits to:
// https://gist.github.com/feighter09/c502d7550e4cdb82d526157f5cf8bef1
// http://nshipster.com/ibinspectable-ibdesignable/
//
// Created by José Tomás González on 23-04-17.
// Copyright © 2017 Swipe. All rights reserved.
//
import Foundation