当前位置:网站首页>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
边栏推荐
- How to earn the first pot of gold in CSDN (we are all creators)
- Statistics, 8th Edition, Jia Junping, Chapter 6 Summary of knowledge points of statistics and sampling distribution and answers to exercises after class
- The salary of testers is polarized. How to become an automated test with a monthly salary of 20K?
- Logstack introduction and deployment -- elasticstack (elk) work notes 019
- [pointer] use the insertion sorting method to arrange n numbers from small to large
- [pointer] find the length of the string
- Wang Shuang's detailed notes on assembly language learning I: basic knowledge
- Numpy Quick Start Guide
- Statistics 8th Edition Jia Junping Chapter 14 summary of index knowledge points and answers to exercises after class
- 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 7 Summary of knowledge points and answers to exercises after class

. Net6: develop modern 3D industrial software based on WPF (2)

Statistics 8th Edition Jia Junping Chapter 10 summary of knowledge points of analysis of variance and answers to exercises after class

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

"If life is just like the first sight" -- risc-v

Matplotlib绘图快速入门

Four methods of exchanging the values of a and B

数字电路基础(一)数制与码制

Es full text index

The salary of testers is polarized. How to become an automated test with a monthly salary of 20K?
随机推荐
SystemVerilog discusses loop loop structure and built-in loop variable I
[oiclass] maximum formula
“Hello IC World”
DVWA exercise 05 file upload file upload
Four methods of exchanging the values of a and B
[pointer] find the largest string
Keil5 MDK's formatting code tool and adding shortcuts
Login the system in the background, connect the database with JDBC, and do small case exercises
Statistics 8th Edition Jia Junping Chapter 2 after class exercises and answer summary
MySQL中什么是索引?常用的索引有哪些种类?索引在什么情况下会失效?
JVM memory model concept
{1,2,3,2,5} duplicate checking problem
1. Payment system
[Ogg III] daily operation and maintenance: clean up archive logs, register Ogg process services, and regularly back up databases
函数:求1-1/2+1/3-1/4+1/5-1/6+1/7-…+1/n
“人生若只如初见”——RISC-V
关于交换a和b的值的四种方法
【指针】查找最大的字符串
[pointer] solve the last person left
Statistics 8th Edition Jia Junping Chapter 4 Summary and after class exercise answers