Package org.jetbrains.kotlinx.dl.visualization.swing

Types

Conv2dJPanel
Link copied to clipboard
class Conv2dJPanel(dst: Array<Array<Array<FloatArray>>>, colorCoefficient: Double) : JPanel

Panel for visualization of convolutional filters.

ImagePanel
Link copied to clipboard
open class ImagePanel(bufferedImage: BufferedImage) : JPanel

A JPanel to display an image.

ReluGraphics
Link copied to clipboard
class ReluGraphics(dst: Array<Array<Array<FloatArray>>>) : JPanel

Panel for visualization of activation maps.

ReluGraphics2
Link copied to clipboard
class ReluGraphics2(dst: Array<Array<Array<FloatArray>>>) : JPanel

Functions

createDetectedLandmarksPanel
Link copied to clipboard
fun createDetectedLandmarksPanel(bufferedImage: BufferedImage, landmarks: List<Landmark>): JPanel

Create a component with the given bufferedImage and landmarks drawn on top of it.

createDetectedObjectsPanel
Link copied to clipboard
fun createDetectedObjectsPanel(bufferedImage: BufferedImage, detectedObjects: List<DetectedObject>): JPanel

Create a component with the given bufferedImage and detectedObjects drawn on top of it.

createDetectedPosePanel
Link copied to clipboard
fun createDetectedPosePanel(bufferedImage: BufferedImage, detectedPose: DetectedPose): JPanel

Create a component with the given bufferedImage and detectedPose drawn on top of it.

createMultipleDetectedPosesPanel
Link copied to clipboard
fun createMultipleDetectedPosesPanel(bufferedImage: BufferedImage, multiPoseDetectionResult: MultiPoseDetectionResult): JPanel

Create a component with the given bufferedImage and multiPoseDetectionResult drawn on top of it.

drawActivations
Link copied to clipboard
fun drawActivations(activations: List<*>)
drawFilters
Link copied to clipboard
fun drawFilters(filters: Array<*>, colorCoefficient: Double = 2.0)
showFrame
Link copied to clipboard
fun showFrame(title: String, content: JPanel, size: Dimension? = null)

Shows a frame in the center of the screen with the provided title and content.