Skip to content

trouble shoot why this is not working. #3

@grahamwaters

Description

@grahamwaters

{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import cv2 as cv\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import glob\n",
"\n",
"# create a banner image that is 50 images wide and 5 images tall (50 x 5 = 250) by cropping each image to 50 x 50 pixels and stacking them horizontally (np.hstack) and then stacking the rows vertically (np.vstack) to create a 250 x 50 image that fits in the banner image.\n",
"# images come from ../images/* and should sample one image from each year from 1970 to 2019\n",
"\n",
"list_of_image_filepaths = [file for file in glob.glob(\"../images/*\")]\n",
"list_of_image_filepaths.sort()\n",
"print(list_of_image_filepaths)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9.6 ('howitschanged')",
"language": "python",
"name": "python3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions