# ImageAI <br>
A python library built to empower developers to build applications and systems with self-contained Deep Learning and Computer Vision capabilities using simple
and few lines of code. <br><br>
<img src="logo1.png" style="width: 500px; height: auto; margin-left: 50px; " /> <br>
An <b>AI Commons</b> project <a href="https://commons.specpal.science" >https://commons.specpal.science </a>
Developed and Maintained by [Moses Olafenwa](https://twitter.com/OlafenwaMoses) and [John Olafenwa](https://twitter.com/johnolafenwa), brothers, creators of [TorchFusion](https://github.com/johnolafenwa/TorchFusion)
and Authors of [Introduction to Deep Computer Vision](https://john.specpal.science/deepvision)
<hr>
Built with simplicity in mind, <b>ImageAI</b>
supports a list of state-of-the-art Machine Learning algorithms for image prediction, custom image prediction, object detection, video detection, video object tracking
and image predictions trainings. <b>ImageAI</b> currently supports image prediction and training using 4 different Machine Learning algorithms
trained on the ImageNet-1000 dataset. <b>ImageAI</b> also supports object detection, video detection and object tracking using RetinaNet, YOLOv3 and TinyYOLOv3 trained on COCO dataset. <br>
Eventually, <b>ImageAI</b> will provide support for a wider
and more specialized aspects of Computer Vision including and not limited to image
recognition in special environments and special fields.
<br> <br>
<b>New Release : ImageAI 2.0.2</b>
<br> What's new:
<br>
- Option to state image size during custom image prediction model trainings <br>
- Object Detection and Video Object detection now returns bounding box coordinates **('box points')** (x1,y1,x2, y2) for each object detected in addition to object's 'name' and 'percentage probability' <br>
- Options to hide 'percentage probability' and/or object 'name' from being shown in detected image or video
- Support for video object detection on video live stream from device camera, connected camera and IP camera <br>
- Support for **YOLOv3** and **TinyYOLOv3** for all object detection and video object detection tasks.
- Video object detection for all input types (video file and camera) now allows defining custom functions to execute after each frame, each second and each minute of the video is detected and processed. Also include option to specify custom function at once video is fully detected and processed <br>
- For each custom function specified, **ImageAI** returns the **frame**/**seconds**/**minute**/**full video analysis** of the detections that include the objects' details ( **name** , **percentage** **probability**, **box_points**), number of instance of each unique object detected (counts) and overall average count of the number of instance of each unique object detected in the case of **second** / **minute** / **full video analysis**<br>
- Options to return detected frame at every frame, second or minute processed as a **Numpy array**.
<br> <br>
<br>
<h3><b><u>TABLE OF CONTENTS</u></b></h3>
<a href="#dependencies" >▣ Dependencies</a><br>
<a href="#installation" >▣ Installation</a><br>
<a href="#prediction" >▣ Image Prediction</a><br>
<a href="#detection" >▣ Object Detection</a><br>
<a href="#videodetection" >▣ Video Object Detection, Tracking & Analysis</a><br>
<a href="#customtraining" >▣ Custom Model Training</a><br>
<a href="#customprediction" >▣ Custom Image Prediction</a><br>
<a href="#documentation" >▣ Documentation</a><br>
<a href="#sample" >▣ Projects Built on ImageAI</a><br>
<a href="#recommendation" >▣ AI Practice Recommendations</a><br>
<a href="#support" >▣ Support the ImageAI Project</a><br>
<a href="#contact" >▣ Contact Developers</a><br>
<a href="#contributors" >▣ Contributors</a><br>
<a href="#ref" >▣ References</a><br>
<br><br>
<div id="dependencies"></div>
<h3><b><u>Dependencies</u></b></h3>To use <b>ImageAI</b> in your application developments, you must have installed the following
dependencies before you install <b>ImageAI</b> :
<br> <br>
<span><b>- Python 3.5.1 (and later versions) </b> <a href="https://www.python.org/downloads/" style="text-decoration: none;" >Download</a> (Support for Python 2.7 coming soon) </span> <br>
<span><b>- pip3 </b> <a href="https://pypi.python.org/pypi/pip" style="text-decoration: none;" >Install</a></span> <br>
<span><b>- Tensorflow 1.4.0 (and later versions) </b> <a href="https://www.tensorflow.org/install/install_windows" style="text-decoration: none;" > Install</a></span> or install via pip <pre> pip3 install --upgrade tensorflow </pre>
<span><b>- Numpy 1.13.1 (and later versions) </b> <a href="https://www.scipy.org/install.html" style="text-decoration: none;" >Install</a></span> or install via pip <pre> pip3 install numpy </pre>
<span><b>- SciPy 0.19.1 (and later versions) </b> <a href="https://www.scipy.org/install.html" style="text-decoration: none;" >Install</a></span> or install via pip <pre> pip3 install scipy </pre>
<span><b>- OpenCV </b> <a href="https://pypi.python.org/pypi/opencv-python" style="text-decoration: none;" >Install</a></span> or install via pip <pre> pip3 install opencv-python </pre>
<span><b>- Pillow </b> <a href="https://pypi.org/project/Pillow/2.2.1/" style="text-decoration: none;" >Install</a></span> or install via pip <pre> pip3 install pillow </pre>
<span><b>- Matplotlib </b> <a href="https://matplotlib.org/users/installing.html" style="text-decoration: none;" >Install</a></span> or install via pip <pre> pip3 install matplotlib </pre>
<span><b>- h5py </b> <a href="http://docs.h5py.org/en/latest/build.html" style="text-decoration: none;" >Install</a></span> or install via pip <pre> pip3 install h5py </pre>
<span><b>- Keras 2.x </b> <a href="https://keras.io/#installation" style="text-decoration: none;" >Install</a></span> or install via pip <pre> pip3 install keras </pre>
<div id="installation"></div>
<h3><b><u>Installation</u></b></h3> To install ImageAI, run the python installation instruction below in the command line: <br><br>
<span> <b>pip3 install https://github.com/OlafenwaMoses/ImageAI/releases/download/2.0.2/imageai-2.0.2-py3-none-any.whl </b></span> <br><br> <br>
or download the Python Wheel <a href="https://github.com/OlafenwaMoses/ImageAI/releases/download/2.0.2/imageai-2.0.2-py3-none-any.whl" ><b>
imageai-2.0.2-py3-none-any.whl</b></a> and run the python installation instruction in the command line
to the path of the file like the one below: <br><br>
<span> <b>pip3 install C:\User\MyUser\Downloads\imageai-2.0.2-py3-none-any.whl</b></span> <br><br>
<div id="prediction"></div>
<h3><b><u>Image Prediction</u></b></h3>
<p><img src="images/1.jpg" style="width: 400px; height: auto;" />
<pre>convertible : 52.459555864334106
sports_car : 37.61284649372101
pickup : 3.1751200556755066
car_wheel : 1.817505806684494
minivan : 1.7487050965428352</pre>
</p>
<b>ImageAI</b> provides 4 different algorithms and model types to perform image prediction, trained on the ImageNet-1000 dataset.
The 4 algorithms provided for image prediction include <b>SqueezeNet</b>, <b>ResNet</b>, <b>InceptionV3</b> and <b>DenseNet</b>.
Click the link below to see the full sample codes, explanations and best practices guide.
<a href="imageai/Prediction/" ><button style="font-size: 20px; color: white; background-color: steelblue; height: 50px; border-radius: 10px; " > >>> Tutorial & Guide </button></a>
<br>
<br>
<div id="detection"></div>
<h3><b><u>Object Detection</u></b></h3>
<div style="width: 600px;" >
<b><p><i>Input Image</i></p></b></br>
<img src="images/image2.jpg" style="width: 500px; height: auto; margin-left: 50px; " /> <br>
没有合适的资源?快使用搜索试试~ 我知道了~
人工智能ImageAI的一系列示范代码,教你怎么使用ImageAI
共186个文件
py:82个
pyc:50个
jpg:38个
需积分: 50 26 下载量 29 浏览量
2018-11-24
10:33:12
上传
评论 3
收藏 19.35MB ZIP 举报
温馨提示
ImageAI是一套Python的电脑视觉编程库,主要提供三大功能:Image prediction、Object detection、Video object Detection and tracking
资源推荐
资源详情
资源评论
收起资源包目录
人工智能ImageAI的一系列示范代码,教你怎么使用ImageAI (186个子文件)
Thumbs.db 1.41MB
Thumbs.db 267KB
Thumbs.db 40KB
Thumbs.db 37KB
Thumbs.db 16KB
1.jpg 2.02MB
6flash.jpg 718KB
image3custom.jpg 621KB
image3new.jpg 611KB
nodetails.jpg 608KB
5flash.jpg 561KB
5faster.jpg 549KB
5fast.jpg 547KB
5fastest.jpg 545KB
5normal.jpg 544KB
image2new.jpg 408KB
yolo.jpg 399KB
5.jpg 220KB
image3.jpg 212KB
idenprof.jpg 177KB
video1.jpg 117KB
video-2.jpg 111KB
video-4.jpg 110KB
video-3.jpg 98KB
3.jpg 86KB
video2.jpg 79KB
video-1.jpg 75KB
video--1.jpg 74KB
car-4.jpg 63KB
2.jpg 58KB
person-10.jpg 56KB
video_analysis_visualization.jpg 49KB
image2.jpg 37KB
supportimage.jpg 33KB
bicycle-5.jpg 30KB
motorcycle-3.jpg 24KB
person-7.jpg 17KB
person-6.jpg 16KB
cat-2.jpg 16KB
dog-1.jpg 14KB
person-9.jpg 12KB
4.jpg 9KB
person-8.jpg 7KB
LICENSE 1KB
CUSTOMTRAINING.md 49KB
VIDEO.md 34KB
README.md 22KB
README.md 22KB
README.md 17KB
CUSTOMPREDICTION.md 7KB
traffic.mp4 7.45MB
logo1.png 19KB
logo2.png 13KB
__init__.py 134KB
__init__.py 44KB
imagenet_utils.py 41KB
imagenet_utils.py 41KB
imagenet_utils.py 36KB
__init__.py 34KB
densenet.py 33KB
retinanet.py 14KB
inceptionv3.py 13KB
_time_distributed_2d.py 11KB
generator.py 10KB
transform.py 10KB
_2d.py 10KB
eval.py 9KB
open_images.py 9KB
anchors.py 7KB
_time_distributed_2d.py 7KB
_misc.py 7KB
image.py 6KB
_3d.py 6KB
_2d.py 6KB
_1d.py 6KB
csv_generator.py 6KB
pascal_voc.py 5KB
models.py 5KB
_2d.py 5KB
kitti.py 4KB
utils.py 4KB
losses.py 4KB
resnet50.py 4KB
coco.py 4KB
visualization.py 3KB
subpixel.py 3KB
mobilenet.py 3KB
video_analysis_per_second.py 3KB
video_analysis_per_frame.py 3KB
__init__.py 3KB
resnet.py 3KB
squeezenet.py 3KB
coco_eval.py 3KB
eval.py 3KB
common.py 3KB
colors.py 3KB
common.py 1KB
keras_version.py 1KB
tensorflow_backend.py 1KB
initializers.py 1KB
共 186 条
- 1
- 2
资源评论
qq_26080729
- 粉丝: 1
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功