kimtang commented on issue #7273: [R] call im2rec in R
URL: 
https://github.com/apache/incubator-mxnet/issues/7273#issuecomment-320959689
 
 
   Yes, it should not be that difficult but im2rec depends on opencv and this 
is not available in R. Can someone please confirm? 
   As far as I can see we need to export the functions 
MXRecordIOWriterCreate,MXRecordIOReaderReadRecord,MXRecordIOWriterWriteRecord 
and MXRecordIOReaderFree to R. And this is done in mxnetR is by registering 
these functions using something like MXNET_REGISTER_IO_ITER. See 
~\src\io\iter_image_recordio_2.cc (line 599).
   
   If we are able to adapt this then it should be fairly simple to write the 
im2rec function in R.
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to