当前位置:网站首页>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
边栏推荐
- Wang Shuang's detailed learning notes of assembly language II: registers
- ByteDance ten years of experience, old bird, took more than half a year to sort out the software test interview questions
- 数字电路基础(四) 数据分配器、数据选择器和数值比较器
- Statistics 8th Edition Jia Junping Chapter 5 probability and probability distribution
- The four connection methods of JDBC are directly coded
- [oiclass] share prizes
- [pointer] solve the last person left
- Quaternion -- basic concepts (Reprint)
- My first blog
- Database monitoring SQL execution
猜你喜欢

Statistics 8th Edition Jia Junping Chapter 10 summary of knowledge points of analysis of variance and answers to exercises after class
![[Ogg III] daily operation and maintenance: clean up archive logs, register Ogg process services, and regularly back up databases](/img/31/875b08d752ecd914f4e727e561adbd.jpg)
[Ogg III] daily operation and maintenance: clean up archive logs, register Ogg process services, and regularly back up databases

What level do 18K test engineers want? Take a look at the interview experience of a 26 year old test engineer
![New version of postman flows [introductory teaching chapter 01 send request]](/img/0f/a41a39093a1170cc3f62075fd76182.jpg)
New version of postman flows [introductory teaching chapter 01 send request]

Statistics, 8th Edition, Jia Junping, Chapter 11 summary of knowledge points of univariate linear regression and answers to exercises after class

Fundamentals of digital circuits (II) logic algebra

“Hello IC World”

Wang Shuang's detailed learning notes of assembly language II: registers

数字电路基础(三)编码器和译码器

Constants, variables, and operators of SystemVerilog usage
随机推荐
数字电路基础(二)逻辑代数
5 minutes to master machine learning iris logical regression classification
[pointer] solve the last person left
《统计学》第八版贾俊平第五章概率与概率分布
Cc36 different subsequences
Fundamentals of digital circuit (IV) data distributor, data selector and numerical comparator
Es full text index
{1,2,3,2,5}查重问题
【指针】八进制转换为十进制
关于交换a和b的值的四种方法
指針:最大值、最小值和平均值
Wang Shuang's detailed learning notes of assembly language II: registers
Statistics 8th Edition Jia Junping Chapter 10 summary of knowledge points of analysis of variance and answers to exercises after class
《统计学》第八版贾俊平第六章统计量及抽样分布知识点总结及课后习题答案
1.支付系统
使用 flask_whooshalchemyplus jieba实现flask的全局搜索
Realize applet payment function with applet cloud development (including source code)
Pointer -- eliminate all numbers in the string
To brush the video, it's better to see if you have mastered these interview questions. Slowly accumulating a monthly income of more than 10000 is not a dream.
Fire! One day transferred to go engineer, not fire handstand sing Conquest (in serial)