This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33b6a2b64607f11b759f320ef9dff4ae5c47d97a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d975f751698a77b662f1254ddbeed3901e976f5a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e9acab5b5fbb560a72cfaecce8946896ff6aab9d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from google.colab.patches import cv2_imshow | |
image_path = r"road.jpg" | |
image1 = cv2.imread(image_path) | |
plt.imshow(image1) | |
def grey(image): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Install JDK for Linux | |
# | |
# This script determines the most recent early-access build number, | |
# downloads the JDK archive to the user home directory and extracts | |
# it there. | |
# | |
# Example usage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val htmlString = stringResource(id = R.string.html_string) | |
val bullet = "\u2022" | |
val messages = HtmlCompat.fromHtml(htmlString, HtmlCompat.FROM_HTML_MODE_COMPACT).split('\n').toMutableList() | |
messages.removeIf { it.isEmpty() } | |
Text( | |
buildAnnotatedString { | |
withStyle(style = SpanStyle(fontWeight = FontWeight.Bold)) { | |
append(messages.removeFirst()) | |
} |
OlderNewer