1 2 3 4 | curl -v http://localhost:8004/ocpu/library/finFindR/R/hashFromImage/json\
-F "imageobj=@C:/Users/jathompson/Documents/dolphinTestingdb/jensImgs/test2.jpg"
hashFromImage(imageobj = "yourfile1.jpg")
|
imageobj |
character vector which denots image file "directory/finImage.JPG" |
traceFromImage
wrapper for use through opencpu.
opencpu passes temp object name to function followed by traceToHash
Processes an image(cimg) containing a fin.
First the image undergoes cleanup through a variety of filters and glare removal via
constrainSizeFinImage
and fillGlare
These processes help enhance edge clarity.
The trailing edge is highlighted via neural network.
The image is then cropped down to the trailing edge for efficiency purposes.
The canny edges are then extracted from the crop and passed to
traceFromCannyEdges
which isolates coordinates for the trailing edge. These coordinates are then passed to
extractAnnulus
which collects image data used for identification.
Both the coordinates and the image annulus are then returned.
Value of type list containing: "hash" vector specifying an individual "coordinates" a matrix of coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.