gigasquid opened a new pull request #14567: [Clojure] enhance draw bounding box
URL: https://github.com/apache/incubator-mxnet/pull/14567
 
 
   ## Description ##
   Related issue https://github.com/apache/incubator-mxnet/issues/14506
   
   This builds on https://github.com/apache/incubator-mxnet/pull/14533
   In particular - it uses the core MXNet draw bounding box functionality in 
the infer objection detection example to unify the use of it in Scala and 
Clojure.
   
   It also tweaks some of the specs and input names to make the clojure draw 
bounding box functionality easier to use from the infer object detection.
   
   
   New output from object detection example:
   
   
   ```
   Output results to: results/ :
   Object detection on a single image
   looking at image images/dog.jpg
   result:  [{:class car, :prob 0.99847263, :x-min 0.60979164, :y-min 
0.14068182, :x-max 0.89065313, :y-max 0.29426128} {:class bicycle, :prob 
0.904738, :x-min 0.30460572, :y-min 0.29289767, :x-max 0.7496816, :y-max 
0.8182521} {:class dog, :prob 0.822682, :x-min 0.16371787, :y-min 0.34988278, 
:x-max 0.40358955, :y-max 0.9312255} {:class bicycle, :prob 0.21815702, :x-min 
0.18173869, :y-min 0.26932585, :x-max 0.46060133, :y-max 0.8074727} {:class 
person, :prob 0.12772371, :x-min 0.17368972, :y-min 0.2365945, :x-max 
0.31111816, :y-max 0.37116468}]
   ```
   
   
![dog](https://user-images.githubusercontent.com/340299/55250892-a8c10380-5225-11e9-894c-e5cecff1d22d.jpg)
   
   
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [X] Changes are complete (i.e. I finished coding on this PR)
   - [X] All changes have test coverage:
   - Unit tests are added for small changes to verify correctness (e.g. adding 
a new operator)
   - Nightly tests are added for complicated/long-running ones (e.g. changing 
distributed kvstore)
   - Build tests will be added for build configuration changes (e.g. adding a 
new build option with NCCL)
   - [X] Code is well-documented: 
   - For user-facing API changes, API doc string has been updated. 
   - For new C++ functions in header files, their functionalities and arguments 
are documented. 
   - For new examples, README.md is added to explain the what the example does, 
the source of the dataset, expected performance on test set and reference to 
the original paper if applicable
   - Check the API doc at 
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
   - [X] To the my best knowledge, examples are either not affected by this 
change, or have been fixed to be compatible with this change
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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