PredictObject_YOLO: Predicts an image object using YOLO

Description Usage Arguments Details Value Author(s) References Examples

View source: R/PredictObject_YOLO.R

Description

Image is internally saved in Outdirectory and then loaded back again with pediction of YOLO.

Usage

1
PredictObject_YOLO(Filename, InDirectory, Darknet_Model, Threshold = 0.19, OutDirectory = getwd(), PlotIt = FALSE)

Arguments

Filename

name of the input image to be predicted with .jpg or .png

InDirectory

directory of the image to be preddicted

Darknet_Model

trained neuronale network to be used, see darknet docu, if not given, per default YOLO v1 is used

Threshold

threshold for YOLO, se my Rmarkdown script

OutDirectory

directpry in which die prediction.png is temporary saved and then loaded again

PlotIt

should the image be plottet?

Details

shrtcut function for the darknet packge

Value

an object of class 'cimg', see imager package for details

Author(s)

Michael Thrun

References

see rmarkdown script for further links

Examples

1
##todo

Mthrun/ImageProcessing documentation built on Dec. 17, 2021, 4:22 a.m.