Skip to content

Instantly share code, notes, and snippets.

@macadada
macadada / bing-gist-integration.py
Created November 8, 2023 16:00
Code from bing chat
import cv2
# Load the image
img = cv2.imread('image.jpg')
# Split the image into its three channels (blue, green, and red)
b_channel, g_channel, r_channel = cv2.split(img)
# Display each channel onto our screen for visualization purposes
cv2.imshow('Blue Channel', b_channel)
### USAGE
###
### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0
### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4
### ./ElasticSearch.sh will fail because no version was specified (exit code 1)
###
### CLI options Contributed by @janpieper
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch
### ElasticSearch version