Pictoblox: NLP-Text Analysis Virtual Doctor | Python Coding

Published: 29 August 2023
on channel: Ramesh
1,262
10

A simple program utilizing Natural Language Processing (NLP) in Pictoblox called Text Analysis Virtual Doctor.


John

sprite = Sprite('John')
import time

tr = TextRecognition()
tr.video('on flipped',60)

while True:
tr.analysecamera("handWrittenText")

if tr.handwrittentextresult() == str("FEVER"):
sprite.say("It's essential to rest and stay hydrated. I recommend taking some fever-reducing medication as well.")

elif tr.handwrittentextresult() == str("COLD"):
sprite.say("Keep yourself warm and drink plenty of water. Hot soups can also help relieve congestion.")

elif tr.handwrittentextresult() == str("COUGH"):
sprite.say("Try soothing remedies like honey and warm water. If it persists, consider seeing a healthcare professional.")

elif tr.handwrittentextresult() == str("HEADACHE"):
sprite.say("Ensure you rest in a quiet environment and take over-the-counter pain relief. If it worsens, seek medical advice.")

else:
sprite.say('Try Again', 3)

time.sleep(3)


Stage

No Codes Here !!!


Tobi

sprite = Sprite('Tobi')
import time

while True:
sprite.say("I'm not feeling well. Could you please help me?",2)

time.sleep(3)


End of codes!!!!!



#STEMpedia #stemeducation #stem #fyp #Globalgoals #Innovation #inovationaward2023 #india #usa #tech #technology #webcam #python #naturallanguageprocessing #pictoblox #sprite #text #usgs #bgs #bgs2022 #projects #viral #malaysia #youtubeshorts #youtube #programming #detection #ai #machinelearning #programming #game


On this page of the site you can watch the video online Pictoblox: NLP-Text Analysis Virtual Doctor | Python Coding with a duration of hours minute second in good quality, which was uploaded by the user Ramesh 29 August 2023, share the link with friends and acquaintances, this video has already been watched 1,262 times on youtube and it was liked by 10 viewers. Enjoy your viewing!