Skip to content

Instantly share code, notes, and snippets.

View zxmarcos's full-sized avatar

Marcos Medeiros zxmarcos

View GitHub Profile
@zxmarcos
zxmarcos / ShadowHighlightCorrection.py
Created September 21, 2023 01:32 — forked from HViktorTsoi/ShadowHighlightCorrection.py
Image shadow and highlight correction/adujstment with opencv.
import numpy as np
import cv2
def correction(
img,
shadow_amount_percent, shadow_tone_percent, shadow_radius,
highlight_amount_percent, highlight_tone_percent, highlight_radius,
color_percent
):
"""
@zxmarcos
zxmarcos / package.xml
Created June 26, 2023 16:42 — forked from iamsonal/package.xml
Package.xml to retrieve all metadata from salesforce org
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ActionLinkGroupTemplate</name>
</types>
<types>
<members>*</members>
<name>AnalyticSnapshot</name>
</types>