Skip to content

Commit 2834e67

Browse files
committed
Merge branch 'main' into plotly-intro-tutorial
2 parents 234548b + cbd5572 commit 2834e67

40 files changed

Lines changed: 35223 additions & 5 deletions

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,6 @@ dmypy.json
135135
*.html
136136
.idea/
137137
drafts/
138-
.virtual_documents
139-
.zed
138+
.virtual_documents/
139+
.zed/
140+
.ruff_cache/

00_index.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"\n",
3737
"- [Introduction to data exploration](./30_introduction_data_exploration.ipynb)\n",
3838
"- [Image Classification](./31_image_classification.ipynb)\n",
39+
"- [Language Modeling (part 1)](./32_language_modeling_1.ipynb)\n",
3940
"\n",
4041
"# Additional Topics\n",
4142
"\n",

24_library_pandas.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4930,6 +4930,9 @@
49304930
}
49314931
],
49324932
"metadata": {
4933+
"jupytext": {
4934+
"formats": "ipynb,auto:percent"
4935+
},
49334936
"kernelspec": {
49344937
"display_name": "Python 3 (ipykernel)",
49354938
"language": "python",
@@ -4945,7 +4948,7 @@
49454948
"name": "python",
49464949
"nbconvert_exporter": "python",
49474950
"pygments_lexer": "ipython3",
4948-
"version": "3.12.0"
4951+
"version": "3.12.10"
49494952
}
49504953
},
49514954
"nbformat": 4,

31_image_classification.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,15 @@
659659
"These methods can also simulate real-world variability, helping models generalize better. \n",
660660
"\n",
661661
"In this notebook, we explore three categories of image transformations: **geometric transformations**, **image filtering**, and **photometric transformations**.\n",
662-
"The following cells contain a series of exercicies designed to help you explore the OpenCV-Python library.\n",
663-
"If you are unfamiliar with a particular method, refer to the [Image Processing in OpenCV](https://docs.opencv.org/4.x/d2/d96/tutorial_py_table_of_contents_imgproc.html) documentation."
662+
"The following cells contain a series of exercicies designed to help you explore the OpenCV-Python library. \n",
663+
"\n",
664+
"If you are unfamiliar with a particular method, refer to the [Image Processing in OpenCV](https://docs.opencv.org/4.x/d2/d96/tutorial_py_table_of_contents_imgproc.html) documentation.\n",
665+
"There you can find the description of the functions needed for [Geometric transformations](https://docs.opencv.org/4.x/da/d6e/tutorial_py_geometric_transformations.html) and [image filtering](https://docs.opencv.org/4.x/d4/d13/tutorial_py_filtering.html).\n",
666+
"Regarding photometric transformations, openCV documentation does not have a specific page for that.\n",
667+
"To adjust brightness and contrast, you can read [Changing the contrast and brightness of an image!](https://docs.opencv.org/4.x/d3/dc1/tutorial_basic_linear_transform.html).\n",
668+
"To adjust saturation, first convert the image to the HSV color space using [`cv2.cvtColor`](https://docs.opencv.org/4.x/d8/d01/group__imgproc__color__conversions.html#gaf86c09fe702ed037c03c2bc603ceab14).\n",
669+
"Then, split the image into Hue, Saturation, and Value channels with [`cv2.split`](https://docs.opencv.org/4.x/df/df2/group__core__hal__interface__split.html).\n",
670+
"Modify the Saturation channel as needed, merge the channels back together using [`cv2.merge`](https://docs.opencv.org/4.x/df/d2e/group__core__hal__interface__merge.html), and finally convert the image back to the RGB color space."
664671
]
665672
},
666673
{

0 commit comments

Comments
 (0)