From fb4ad3f84a64aaad1d009f418fc89e71d1387ef1 Mon Sep 17 00:00:00 2001 From: Sean Perry Date: Tue, 9 Apr 2024 20:28:15 -0700 Subject: [PATCH] Fixed fishsense styling --- _includes/img_caption.html | 6 ++++ _sass/minima.scss | 2 +- .../{_project_nav.scss => _project.scss} | 5 +++ projects/fishsense/fishsense.md | 31 ++++++++++++++----- 4 files changed, 35 insertions(+), 9 deletions(-) create mode 100644 _includes/img_caption.html rename _sass/minima/{_project_nav.scss => _project.scss} (73%) diff --git a/_includes/img_caption.html b/_includes/img_caption.html new file mode 100644 index 00000000..5d7a59b6 --- /dev/null +++ b/_includes/img_caption.html @@ -0,0 +1,6 @@ +
+ +

+ {{include.caption}} +

+
\ No newline at end of file diff --git a/_sass/minima.scss b/_sass/minima.scss index 9a6dcdf3..60c7256a 100644 --- a/_sass/minima.scss +++ b/_sass/minima.scss @@ -48,5 +48,5 @@ $on-laptop: 800px !default; "minima/base", "minima/layout", "minima/syntax-highlighting", - "minima/project_nav.scss" + "minima/project.scss" ; diff --git a/_sass/minima/_project_nav.scss b/_sass/minima/_project.scss similarity index 73% rename from _sass/minima/_project_nav.scss rename to _sass/minima/_project.scss index 73810a58..72d46d5f 100644 --- a/_sass/minima/_project_nav.scss +++ b/_sass/minima/_project.scss @@ -9,4 +9,9 @@ .menu-projects { list-style-type: none; +} + +.captioned-img-container { + width: fit-content; + margin: auto; } \ No newline at end of file diff --git a/projects/fishsense/fishsense.md b/projects/fishsense/fishsense.md index 5156dd65..b1d7549b 100644 --- a/projects/fishsense/fishsense.md +++ b/projects/fishsense/fishsense.md @@ -5,19 +5,34 @@ title: Fishsense tag: fishsense enable_nav: false --- -Monitoring fish species to keep track of their population growth and general health is vitally important. Current techniques for assessing fishes range from “capture and release” methods to manually conducting surveys within an area. In particular, our collaborators at the Scripps Institute of Oceanography and the Reef Environmental Education Foundation ([reef.org](reef.org)) are interested in studying the lengths within a fish population over time to allow fisheries to better manage their stocks. +Monitoring fish species to keep track of their population growth and general health is vitally important. Current techniques for assessing fishes range from “capture and release” methods to manually conducting surveys within an area. In particular, our collaborators at the Scripps Institute of Oceanography and the Reef Environmental Education Foundation ([reef.org](https://www.reef.org/)) are interested in studying the lengths within a fish population over time to allow fisheries to better manage their stocks. + +{% include + img_caption.html + src="assets/projects-fishsense-fishsense-lite-system.png" + caption="Image of Fishsense Lite module." +%} + -![]({{"assets/projects-fishsense-fishsense-lite-system.png" | absolute_url}}) -Image of Fishsense Lite module. -Currently, such fish length data is gathered by employing human divers to manually survey and area and visually estimate and record the lengths of individual fish. This method is prone to inaccuracy, while also requiring each diver to be trained to visually estimate fish length. We intend to ease this data collection process by developing a prototype device that will perform length estimation automatically. +Currently, such fish length data is gathered by employing human divers to manually survey and area and visually estimate and record the lengths of individual fish. This method is prone to inaccuracy, while also requiring each diver to be trained to visually estimate fish length. We intend to ease this data collection process by developing a prototype device that will perform length estimation automatically. -![]({{"assets/projects-fishsense-P7170124-768x576.jpg" | absolute_url}}) -Diver using Fishsense Lite camera for data collection. +{% include + img_caption.html + src="assets/projects-fishsense-P7170124-768x576.jpg" + caption="Diver using Fishsense Lite camera for data collection." +%} + The current prototype uses a standard dive camera with a rigidly attached waterproof laser pointer. The laser allows us to extrapolate an estimate of the fish’s distance away from the camera, from which fish length can be calculated. -![]({{"assets/projects-fishsense-P7170098-1-768x576.jpg" | absolute_url}}) -Laser dot on a male California Sheephead. +{% include + img_caption.html + src="assets/projects-fishsense-P7170098-1-768x576.jpg" + caption="Laser dot on a male California Sheephead." +%} + To estimate fish length automatically, we require the use of computer vision techniques to detect the laser point, along with the fish head and tail points. These points are all assumed to be at the same distance from the camera as the laser dot, and that information can be used to calculate the distance between the two laser dots. If you wish to learn more about this project, contact Christopher Crutchfield ([ccrutchf@ucsd.edu](ccrutchf@ucsd.edu)). \ No newline at end of file