加入开发团队与贡献者名单
This commit is contained in:
parent
43006a1f78
commit
263a4e78e5
12
README.en.md
12
README.en.md
|
@ -65,10 +65,12 @@ Developers can quickly verify algorithms with XTDrone, such as:
|
||||||
|
|
||||||
View the tutorial doc [XTDrone](https://www.yuque.com/xtdrone/manual_en)
|
View the tutorial doc [XTDrone](https://www.yuque.com/xtdrone/manual_en)
|
||||||
|
|
||||||
#### Contribution
|
#### Developing Team
|
||||||
|
|
||||||
|
- Founders: Kun Xiao, Shaochang Tan
|
||||||
|
- Developers: Kun Xiao, Shaochang Tan, Guanzheng Wang, Lan Ma, Qipeng Wang, Keyan Chen
|
||||||
|
|
||||||
1. Fork the repository
|
#### Thanks to Contributers
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
Zhenghao Sun
|
||||||
4. Create Pull Request
|
Yao He
|
||||||
|
|
13
README.md
13
README.md
|
@ -65,9 +65,12 @@
|
||||||
|
|
||||||
见[XTDrone使用文档](https://www.yuque.com/xtdrone/manual_cn)
|
见[XTDrone使用文档](https://www.yuque.com/xtdrone/manual_cn)
|
||||||
|
|
||||||
#### 参与贡献
|
#### 项目团队
|
||||||
|
|
||||||
1. Fork 本仓库
|
- 创立者:肖昆,谭劭昌
|
||||||
2. 新建 Feat_xxx 分支
|
- 开发团队:肖昆,谭劭昌,王冠政,马澜,王齐鹏,陈科研
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
#### 感谢贡献者们
|
||||||
|
|
||||||
|
孙正浩
|
||||||
|
何瑶
|
||||||
|
|
|
@ -5,15 +5,15 @@ import cv2
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
classes = ["human", "car", "fire hydrant", "street sign"]
|
classes = ["human", "car", "fire hydrant", "street sign"]
|
||||||
img_path = "~/catkin_ws/src/darknet/xtdrone/data/"
|
img_path = "data/"
|
||||||
xml_path = "~/catkin_ws/src/darknet/xtdrone/xml/"
|
xml_path = "xml/"
|
||||||
net_size = (416, 416)
|
net_size = (416, 416)
|
||||||
img_format = 'jpg'
|
img_format = 'jpg'
|
||||||
|
|
||||||
|
|
||||||
def resize_img(img_path):
|
def resize_img(img_path):
|
||||||
img_file_list = glob.glob(os.path.join(img_path, '*.%s' % img_format))
|
img_file_list = glob.glob(os.path.join(img_path, '*.%s' % img_format))
|
||||||
img_resize_path = os.path.join(img_path, '..','train)
|
img_resize_path = os.path.join(img_path, '..','train')
|
||||||
if os.path.exists(img_resize_path):
|
if os.path.exists(img_resize_path):
|
||||||
shutil.rmtree(img_resize_path)
|
shutil.rmtree(img_resize_path)
|
||||||
os.makedirs(img_resize_path)
|
os.makedirs(img_resize_path)
|
||||||
|
|
Loading…
Reference in New Issue