Global AI and Data Science

Global AI & Data Science

Train, tune and distribute models with generative AI and machine learning capabilities


#Artificialintelligence
#Datascience
 View Only
  • 1.  Deploy Visual Recognition on Wordpress Website

    Posted 04/12/20 04:40 PM
    Hello everyone,

    Hope everyone is staying safe during these unprecedented times.

    I built a custom classifier using the IBM Visual Recognition resource and I want to put it on a Wordpress website.
    The chatbot that I made using Watson Assistant was pretty straightforward to place on my website using a plugin and the API details.

    What's the best way to put the visual recognition classifier on a Wordpress website?

    Thank you.
    Sumeet


    ------------------------------
    Sumeet Sinha
    ------------------------------



    #DataandAILearning
    #AIandDSSkills
    #AIandDSSkills


  • 2.  RE: Deploy Visual Recognition on Wordpress Website

    Posted 04/13/20 01:30 AM
    Sumeet, once you have trained a custom classifier, you can use the REST API to Visual Recognition to submit an image. 

    The Visual Recognition API includes a method called classify that you may invoke to submit an image for analysis.  The result is returned in a JSON object that you then parse to obtain the results.

    Documentation for the REST API is here:  https://cloud.ibm.com/apidocs/visual-recognition/visual-recognition-v4

    The Watson Developer Cloud github has an example application in Javascript that you can look at:  https://github.com/watson-developer-cloud/visual-recognition-code-pattern

    ------------------------------
    Ray Lopez, Ph.D.
    Data Scientist & Enablement Guru
    IBM Data Science & AI
    ray.lopez@us.ibm.com
    ------------------------------