Skip to content

Commit

Permalink
Merge pull request #189 from e10harvey/doc_strings_exist_common_cv
Browse files Browse the repository at this point in the history
common/lib/cv: Test docs
  • Loading branch information
e10harvey authored Dec 12, 2024
2 parents a5f6fb7 + 5ecfb13 commit 26c80e4
Show file tree
Hide file tree
Showing 18 changed files with 1,023 additions and 139 deletions.
3 changes: 3 additions & 0 deletions doc/source/_static/full_width_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
height: 100%;
max-width: 100% !important;
margin: auto;
}
.py.property {
display: block !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,4 @@ These are the book keeping classes that enable the spot analysis pipeline.
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: bysource

.. automodule:: opencsp.common.lib.cv.CacheableImage
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise
:member-order: bysource
101 changes: 101 additions & 0 deletions doc/source/library_reference/common/lib/cv/config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
Base Classes
============

.. currentmodule:: opencsp.common.lib.cv.CacheableImage

.. automodule:: opencsp.common.lib.cv.CacheableImage
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

.. currentmodule:: opencsp.common.lib.cv.OpticalFlow

.. automodule:: opencsp.common.lib.cv.OpticalFlow
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

Utility Functions
=================

image_filters
-------------

.. currentmodule:: opencsp.common.lib.cv.image_filters

.. automodule:: opencsp.common.lib.cv.image_filters
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

image_reshapers
---------------

.. currentmodule:: opencsp.common.lib.cv.image_reshapers

.. automodule:: opencsp.common.lib.cv.image_reshapers
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

Fiducials
=========

.. automodule:: opencsp.common.lib.cv.fiducials.AbstractFiducials
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

.. automodule:: opencsp.common.lib.cv.fiducials.BcsFiducial
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

.. automodule:: opencsp.common.lib.cv.fiducials.PointFiducials
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

Annotations
===========

.. currentmodule:: opencsp.common.lib.cv.annotations.AbstractAnnotations

.. automodule:: opencsp.common.lib.cv.annotations.AbstractAnnotations
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

.. currentmodule:: opencsp.common.lib.cv.annotations.HotspotAnnotation

.. automodule:: opencsp.common.lib.cv.annotations.HotspotAnnotation
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise

.. currentmodule:: opencsp.common.lib.cv.annotations.PointAnnotations

.. automodule:: opencsp.common.lib.cv.annotations.PointAnnotations
:members:
:special-members: __init__
:undoc-members:
:show-inheritance:
:member-order: groupwise
10 changes: 10 additions & 0 deletions doc/source/library_reference/common/lib/cv/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Computer Vision (CV)
====================

This is a collection of computer vision utilities for OpenCSP.

.. toctree::
:maxdepth: 1

config.rst
SpotAnalysis/index.rst
2 changes: 1 addition & 1 deletion doc/source/library_reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ This section describes the OpenCSP classes and interfaces.
app/target/index.rst
app/camera_calibration/index.rst
app/scene_reconstruction/index.rst
common/lib/cv/SpotAnalysis/index.rst
common/lib/cv/index.rst
2 changes: 1 addition & 1 deletion opencsp/common/lib/camera/CameraTransform.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""

from cv2 import cv2 as cv
import cv2 as cv
import numpy as np

import opencsp.common.lib.geometry.geometry_3d as g3d
Expand Down
Loading

0 comments on commit 26c80e4

Please sign in to comment.