Merge pull request #1495 from Kadermiyanyedi/fix-typos

fix: documentation and notebook spell fixes
This commit is contained in:
Onuralp SEZER
2024-08-31 01:42:35 +03:00
committed by GitHub
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -368,7 +368,7 @@
"<br>\n",
"\n",
"\n",
"In the code above we've created a`video_info` variable to pass information about the video to our `VideoSink`. The `VideoSink` is a cool little context manager that allows us to `write_frames()` to a video ouput file. We're also optionally using `tqdm` to display a progress bar with a % complete. We only scratched the surface of all of the customizable Annotators and additional features that Supervision and Inference have to offer. Stay tuned for more cookbooks on how to take advantge of them in your computer vision applications. Happy building! \ud83d\ude80"
"In the code above we've created a`video_info` variable to pass information about the video to our `VideoSink`. The `VideoSink` is a cool little context manager that allows us to `write_frames()` to a video output file. We're also optionally using `tqdm` to display a progress bar with a % complete. We only scratched the surface of all of the customizable Annotators and additional features that Supervision and Inference have to offer. Stay tuned for more cookbooks on how to take advantage of them in your computer vision applications. Happy building! \ud83d\ude80"
]
}
],
+1 -1
View File
@@ -402,7 +402,7 @@
{
"cell_type": "markdown",
"source": [
"## Improve Vizualizations"
"## Improve Visualizations"
],
"metadata": {
"id": "HsPNfuM_3ENR"
+1 -1
View File
@@ -103,7 +103,7 @@
"source": [
"## Download a Video Asset\n",
"\n",
"Now that we have our enviornment setup, lets download a video that we can detect objects in. Supervision comes with a great utility to help us hit the ground running. We can use the below snippet to he video is save a video asset in our local directory. It can also be accessed with the variable `path_to_video` for additional application logic."
"Now that we have our environment setup, lets download a video that we can detect objects in. Supervision comes with a great utility to help us hit the ground running. We can use the below snippet to he video is save a video asset in our local directory. It can also be accessed with the variable `path_to_video` for additional application logic."
]
},
{
+1 -1
View File
@@ -951,7 +951,7 @@
},
"source": [
"#### Import your data\n",
"To load your data back in, upload the saved file to the Colab enviorment and run the code cell."
"To load your data back in, upload the saved file to the Colab environment and run the code cell."
]
},
{
+1 -1
View File
@@ -278,7 +278,7 @@ def test_map_detections_class_id(
np.array([[[]]]).astype(bool),
None,
pytest.raises(AssertionError),
), # raises AssertionError because mask dimentionality is not 2D
), # raises AssertionError because mask dimensionality is not 2D
(
np.array([[]]).astype(bool),
None,
+2 -2
View File
@@ -975,7 +975,7 @@ def test_get_data_item(
),
False,
DoesNotRaise(),
), # foreground object in 2 seperate elements
), # foreground object in 2 separate elements
(
np.array([[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]).astype(
bool
@@ -1032,7 +1032,7 @@ def test_contains_holes(
4,
True,
DoesNotRaise(),
), # foreground object in 2 seperate elements
), # foreground object in 2 separate elements
(
np.array([[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]).astype(
bool