Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +5 -3
pages/Data Collection.py
CHANGED
|
@@ -1270,7 +1270,7 @@ elif st.session_state.current_page == "image_transformations":
|
|
| 1270 |
|
| 1271 |
# Heading
|
| 1272 |
st.markdown("""
|
| 1273 |
-
<
|
| 1274 |
""", unsafe_allow_html=True)
|
| 1275 |
|
| 1276 |
# Definition
|
|
@@ -1278,7 +1278,7 @@ elif st.session_state.current_page == "image_transformations":
|
|
| 1278 |
Image augmentation is a method used to enhance the size and variety of an image dataset by applying transformations to existing images.
|
| 1279 |
These transformations introduce variations while preserving the core features of the image, making it useful for training machine learning models to handle diverse inputs.
|
| 1280 |
|
| 1281 |
-
|
| 1282 |
Image augmentation applies transformations like resizing, rotation, flipping, and more to the original image. These changes simulate real-world variations, ensuring that machine learning models can identify patterns even with differences in perspective, scale, or lighting conditions.
|
| 1283 |
|
| 1284 |
The key idea is to preserve the original features of the image while introducing diversity. For example, if we take an image and apply five different transformations, we generate five new variations of that image. This provides the model with more data to learn from, improving its performance and ability to generalize.
|
|
@@ -1328,7 +1328,9 @@ elif st.session_state.current_page == "image_transformations":
|
|
| 1328 |
These transformations are linear, meaning the relationships between points in the image remain consistent.
|
| 1329 |
""")
|
| 1330 |
|
| 1331 |
-
|
|
|
|
|
|
|
| 1332 |
|
| 1333 |
|
| 1334 |
|
|
|
|
| 1270 |
|
| 1271 |
# Heading
|
| 1272 |
st.markdown("""
|
| 1273 |
+
<h3 style="color: #9400d3;">What is Image Augmentation?</h3>
|
| 1274 |
""", unsafe_allow_html=True)
|
| 1275 |
|
| 1276 |
# Definition
|
|
|
|
| 1278 |
Image augmentation is a method used to enhance the size and variety of an image dataset by applying transformations to existing images.
|
| 1279 |
These transformations introduce variations while preserving the core features of the image, making it useful for training machine learning models to handle diverse inputs.
|
| 1280 |
|
| 1281 |
+
**How It Works**
|
| 1282 |
Image augmentation applies transformations like resizing, rotation, flipping, and more to the original image. These changes simulate real-world variations, ensuring that machine learning models can identify patterns even with differences in perspective, scale, or lighting conditions.
|
| 1283 |
|
| 1284 |
The key idea is to preserve the original features of the image while introducing diversity. For example, if we take an image and apply five different transformations, we generate five new variations of that image. This provides the model with more data to learn from, improving its performance and ability to generalize.
|
|
|
|
| 1328 |
These transformations are linear, meaning the relationships between points in the image remain consistent.
|
| 1329 |
""")
|
| 1330 |
|
| 1331 |
+
st.image(
|
| 1332 |
+
"https://huggingface.co/spaces/LakshmiHarika/MachineLearning/resolve/main/Images/affine_transformations.png",
|
| 1333 |
+
use_container_width=True)
|
| 1334 |
|
| 1335 |
|
| 1336 |
|