-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can I save the result of image_darknet_model into a R object? #4
Comments
Currently image_darknet_detect only gets the location of the object in C and spits out an image in your getwd() folder which shows that. |
I m not interested in classify the image(for example if the subject of the image is a cat a dog or a person) I'm interested in understand if the number of person (or the presence of a dog or a cat) in the picture gives to the image a higher probability to be successful in social networks. For this reason I'm interested in detection and not interested in classify. I saw that the last output of the function is
If it is possible save this text into a character variable I would resolve my issue. Is there any possibility that R read this text? In may tries it seems that this text is not a object that R can read, but I can make Copy and Paste on it. Ty |
Currently this is not implemented, I haven't brought these numbers from the C side to the R side. |
Ty |
If you want it soon for a commercial project, you can always request for it at www.bnosac.be, in case a non-free proposal can be made. If not, you'll have to wait. |
Closing as no active feedback given in last month. |
Hi, |
Hi!
I tired this code:
The output of this code is :
So the model detect one person into the image.
I wish save into x that te model detect one person. But the value of x is NULL
I tried also the function capture.output() to capture the fact that the model find a person in the image but the result of
capture.output(image_darknet_detect(paste(getwd(), "/tempPicture.jpg", sep=""), object=yolo_tiny_voc))
is charather(0).
Could you help me? It seem impossible extract the result of the detection.
Ty
P.S. I would detect 1000 image and put the result of the detection in a model like randomForset in order to predict a value for this reason I wish put the result of the detection in a data.frame
The text was updated successfully, but these errors were encountered: