Pictoblox: NLP-Text Analysis Virtual Doctor | Python Coding

Опубликовано: 29 Август 2023
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Pictoblox: NLP-Text Analysis Virtual Doctor | Python Coding длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Ramesh 29 Август 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,262 раз и оно понравилось 10 зрителям. Приятного просмотра!