1 2 3 4 5 6 7 8 9 10 | curl -v http://localhost:8004/ocpu/library/finFindR/R/hashFromImageAndEdgeCoord/json \
-F "imageobj=@C:/Users/jathompson/Documents/dolphinTestingdb/jensImgs/test2.jpg"\
-F "xvec=[6,7,8,7,6,5,5,6,7,8,9]"\
-F "yvec=[3,4,5,6,6,5,6,6,7,8,9]"
hashFromImageAndEdgeCoord(
imageobj = "yourfile1.jpg",
xvec=c(3,4,5,6,6,5,6,7,8),
yvec=c(6,7,8,7,6,5,5,6,7)
)
|
imageobj |
character vector which denots image file "directory/finImage.JPG" |
xCoordinates |
x pixel coordinates for data extraction |
yCoordinates |
y pixel coordinates for data extraction |
extractAnnulus
wrapper for use through opencpu.
if coordinates are generated from finFindR, constrainSizeFinImage
should be called by setting boundResize = 1
opencpu passes temp object name to function followed by traceToHash
Coordinates should denote the pixels along the trailing edge of the fin
extractAnnulus
which collects image data used for identification.
Coordinates assume the upper left corner is denoted as 1,1 (recall, R is 1 indexed)
hash assiciated with the provided image and trailing edge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.