当前位置:网站首页>Install and run tensorflow object detection API video object recognition system of Google open source
Install and run tensorflow object detection API video object recognition system of Google open source
2022-07-06 14:53:00 【gmHappy】
Linux install
Refer to official documents :
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md
install Python
Download address https://www.python.org/, Proposed installation Anaconda, Download address https://www.anaconda.com/download/, The latest version of the official website is Anaconda3-5.1.0, Select the corresponding operating system to install , The version selected by the author is 4.3.8.

Anaconda download
https://www.anaconda.com/download/ ( Not recommended , The official website is slow to download )
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ ( recommend , Tsinghua University open source software image station to download and configure the image )
https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/ (mini edition ,, Tsinghua University open source software image station )
install TensorFlow
The author used to pip Way to install
install CUP Version of TensorFlow:
pip install tensorflow
- 1.
install CUP Version of TensorFlow:
pip install tensorflow
- 1.
The author chose TensorFlow The version is 1.5.0, therefore :
pip install tensorflow==1.5.0
- 1.
install Protoc
Protoc Used to compile related program running files , Get into Protoc Download page , Select the corresponding version according to the specific operating system , The author is Win7 Download something like the one shown in the figure below win32 The package , After decompression bin In the folder protoc.exe copy to c:\windows\system32 Under the table of contents

What I choose is :

Because of the recent 3.5.1 There is BUG Can operate Object Detection API Can't compile .
install git
Get into git Official website download Windows Platform git

Download the code and compile
stay cmd Enter the following code :
git clone https://github.com/tensorflow/models.git
- 1.
Or in the Official website , download ZIP package :

cmd Enter into models/research/ Folder , compile Object Detection API Code for :
# From models/research/
protoc object_detection/protos/*.proto --python_out=.
- 1.
- 2.
Add library to PYTHONPATH,models/research and models/research/slim The directory should be attached to PYTHONPATH in .
D:\models-master\research;D:\models-master\research\slim
- 1.

Test installation , Test whether you have correctly installed... By running the following command Tensorflow Object Detection API:
python object_detection/builders/model_builder_test.py
- 1.

function notebook demo
stay models-master\research Run the following command under file :
notebook demo
- 1.

The browser opens automatically , The following screen is displayed :

choice object_detection Get into

choice object_detection_tutorial.ipynb Get into

Click on Cell Internal Run All, Wait a few minutes or so ( Download model ), The following results are displayed :

So far, the official website example has been set up and run
边栏推荐
- C language do while loop classic Level 2 questions
- 刷视频的功夫,不如看看这些面试题你掌握了没有,慢慢积累月入过万不是梦。
- 关于超星脚本出现乱码问题
- Statistics 8th Edition Jia Junping Chapter 2 after class exercises and answer summary
- 【指针】求二维数组中最大元素的值
- Quaternion -- basic concepts (Reprint)
- Detailed introduction to dynamic programming (with examples)
- [pointer] octal to decimal
- Fundamentals of digital circuit (V) arithmetic operation circuit
- Database monitoring SQL execution
猜你喜欢

Realize applet payment function with applet cloud development (including source code)

Fundamentals of digital circuit (V) arithmetic operation circuit

Soft exam information system project manager_ Project set project portfolio management --- Senior Information System Project Manager of soft exam 025

Statistics 8th Edition Jia Junping Chapter 14 summary of index knowledge points and answers to exercises after class

Login the system in the background, connect the database with JDBC, and do small case exercises

《统计学》第八版贾俊平第十二章多元线性回归知识点总结及课后习题答案

About the garbled code problem of superstar script

Keil5-MDK的格式化代码工具及添加快捷方式

What is the transaction of MySQL? What is dirty reading and what is unreal reading? Not repeatable?

Four methods of exchanging the values of a and B
随机推荐
Functions: Finding Roots of equations
Statistics 8th Edition Jia Junping Chapter IX summary of knowledge points of classified data analysis and answers to exercises after class
[pointer] octal to decimal
{1,2,3,2,5} duplicate checking problem
我的第一篇博客
Function: find 1-1/2+1/3-1/4+1/5-1/6+1/7-... +1/n
Why can swing implement a form program by inheriting the JFrame class?
【指针】八进制转换为十进制
Numpy快速上手指南
《统计学》第八版贾俊平第十一章一元线性回归知识点总结及课后习题答案
Wu Enda's latest interview! Data centric reasons
数字电路基础(五)算术运算电路
使用 flask_whooshalchemyplus jieba实现flask的全局搜索
数字电路基础(一)数制与码制
[Ogg III] daily operation and maintenance: clean up archive logs, register Ogg process services, and regularly back up databases
数据库多表链接的查询方式
《统计学》第八版贾俊平第八章假设检验知识点总结及课后习题答案
Zhejiang University Edition "C language programming experiment and exercise guide (3rd Edition)" topic set
[pointer] find the value of the largest element in the two-dimensional array
王爽汇编语言详细学习笔记二:寄存器