Skip to content

Instantly share code, notes, and snippets.

import wx
import cv2
import numpy as np
# http://www.cs.cmu.edu/~chuck/lennapg/
filename = "lena_std.tif"
def cv2_image_to_wx_image(cv2_image):
# type: (np.ndarray) -> wx.Image
'
' ReCreateShortcuts.vbs
'
' Copyright (c) 2016 amdkkj
' This software is released under the MIT License.
'
' Permission is hereby granted, free of charge, to any person obtaining a copy
' of this software and associated documentation files (the "Software"), to deal
' in the Software without restriction, including without limitation the rights
' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell