This function is used to import outline coordinates and is built around import_jpg1.
a vector of paths corresponding to the .jpg files to import. If not
logical if TRUE random locations will be used until. one of them is (assumed) to be within the shape (because of a black pixel); if FALSE a locator will be called, and you will have to click on a point within the shape.
NULL by default. Is your shapes are not centered and if a random pick of a black pixel is not satisfactory. See import_jpg1 help and examples.
the threshold value use to binarize the images. Above, pixels are turned to 1, below to 0.
see import_jpg1 for important informations about how the outlines are extracted, and import_Conte for the algorithm itself.
jpg.paths is not provided (or
NULL), you will have to select any
file in the folder that contains all your files. All the outlines should be imported then.
a list of matrices of (x; y) coordinates that can be passed to Out
Note this function will be deprecated from Momocs
will be fully operationnal.
Silent message and progress bars (if any) with
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.