from imageai.Classification import ImageClassification
import os
executionpath=os.getcwd()
print(executionpath)
detection=ImageClassification()
detection.setModelTypeAsResNet50()
detection.setModelPath(executionpath + "/resnet50_imagenet_tf.2.0.h5")
detection.loadModel()
detections,percentageprobabilites=detection.classifyImage("Testimage.jpg",result_count=5)
for Index in range(len(detections)):
print(detections[Index],":",percentageprobabilites[Index])
import os
executionpath=os.getcwd()
print(executionpath)
detection=ImageClassification()
detection.setModelTypeAsResNet50()
detection.setModelPath(executionpath + "/resnet50_imagenet_tf.2.0.h5")
detection.loadModel()
detections,percentageprobabilites=detection.classifyImage("Testimage.jpg",result_count=5)
for Index in range(len(detections)):
print(detections[Index],":",percentageprobabilites[Index])
Tech news..... 🖥
A South Korean petplus lab company has created the world's first AI-powered dog collar.
That can analyse emotions of canines and help owners better understand their feelings.😍
Share support ✨
A South Korean petplus lab company has created the world's first AI-powered dog collar.
That can analyse emotions of canines and help owners better understand their feelings.😍
Share support ✨
Is windows updates really boost your system performances?
Anonymous Poll
46%
Yes
36%
No
17%
Turned off updates
Tech news..... 🖥
Google pixel 4 XL's car crash detection feature saved the life of a man who fell into a ravine while driving a commercial vehicle.
The smartphone called the emergency number upon detecting the crash.
Share support ✨
Google pixel 4 XL's car crash detection feature saved the life of a man who fell into a ravine while driving a commercial vehicle.
The smartphone called the emergency number upon detecting the crash.
Share support ✨
Tech news...... 🖥
Instagram's new Live Rooms feature lets up to four people go live at once.
Previously, you could only go live with one other person.
Share support ✨
Instagram's new Live Rooms feature lets up to four people go live at once.
Previously, you could only go live with one other person.
Share support ✨
from spellchecker import SpellChecker
spell=SpellChecker()
while True:
word=input('Enter the word:')
word=word.lower()
if word in spell:
print("'{}' is spelled correctly!".format(word))
else:
correctwords=spell.correction(word)
print("The best suggestion for '{}' is '{}'".format(word,correctwords))
spell=SpellChecker()
while True:
word=input('Enter the word:')
word=word.lower()
if word in spell:
print("'{}' is spelled correctly!".format(word))
else:
correctwords=spell.correction(word)
print("The best suggestion for '{}' is '{}'".format(word,correctwords))
ALERT synonym for (Aptitude question)
Anonymous Quiz
20%
Energetic
32%
Observant
24%
Intelligent
24%
Watchful
Tech news..... 🖥
Tesla has launched a new social platform on its website geared at letting owners and fans of the brand.
“it's take actions on behalf of Tesla and the movement for cleaner energy.” The new microsite — called the “Tesla Engagement Platform”.
Share support ✨
Tesla has launched a new social platform on its website geared at letting owners and fans of the brand.
“it's take actions on behalf of Tesla and the movement for cleaner energy.” The new microsite — called the “Tesla Engagement Platform”.
Share support ✨