Skip to content

Commit

Permalink
添加了语音播报功能并修复了之前版本存在的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanYu1124 committed Mar 22, 2020
1 parent 0db6495 commit f15e63c
Show file tree
Hide file tree
Showing 39 changed files with 118 additions and 273 deletions.
Binary file modified Imgs/mainView.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions PLR_Vision.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2578,7 +2578,7 @@
"@loader_path/../Frameworks",
);
LIBRARY_SEARCH_PATHS = "$(PROJECT_DIR)/OpenCV";
MARKETING_VERSION = 2.0.0;
MARKETING_VERSION = 2.0.1;
PRODUCT_BUNDLE_IDENTIFIER = "com.inkinc.PLR-Vision";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "PLR_Vision/Others/PLR_Vision-Bridging-Header.h";
Expand Down Expand Up @@ -2611,7 +2611,7 @@
"@loader_path/../Frameworks",
);
LIBRARY_SEARCH_PATHS = "$(PROJECT_DIR)/OpenCV";
MARKETING_VERSION = 2.0.0;
MARKETING_VERSION = 2.0.1;
PRODUCT_BUNDLE_IDENTIFIER = "com.inkinc.PLR-Vision";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "PLR_Vision/Others/PLR_Vision-Bridging-Header.h";
Expand Down
Binary file removed PLR_Vision/Assets.xcassets/1.imageset/1.jpg
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/chinese_flag.imageset/Contents.json

This file was deleted.

Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/choseScan.imageset/Contents.json

This file was deleted.

Binary file not shown.
Binary file removed PLR_Vision/Assets.xcassets/more.imageset/more.png
Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/more_red.imageset/Contents.json

This file was deleted.

Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/nextArrow.imageset/Contents.json

This file was deleted.

Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/plate_blue.imageset/Contents.json

This file was deleted.

Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/plate_yellow.imageset/Contents.json

This file was deleted.

Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/preArrow.imageset/Contents.json

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"images" : [
{
"idiom" : "universal",
"filename" : "1.jpg",
"filename" : "radio.png",
"scale" : "1x"
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"images" : [
{
"idiom" : "universal",
"filename" : "back-arrow.png",
"filename" : "sound-waves.png",
"scale" : "1x"
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/smartScan.imageset/Contents.json

This file was deleted.

Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/videoPlay.imageset/Contents.json

This file was deleted.

Binary file not shown.
21 changes: 0 additions & 21 deletions PLR_Vision/Assets.xcassets/videobg.imageset/Contents.json

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"images" : [
{
"idiom" : "universal",
"filename" : "more.png",
"filename" : "wave_1.png",
"scale" : "1x"
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions PLR_Vision/Controller/AboutViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AboutViewController: NSViewController {

view.wantsLayer = true
// CGColor(red: 249 / 255, green: 241 / 255, blue: 233 / 255, alpha: 0.6)
view.layer?.backgroundColor = CGColor(red: 0 / 255, green: 0 / 255, blue: 0 / 255, alpha: 0.8)
view.layer?.backgroundColor = CGColor.clear

detailView.wantsLayer = true
detailView.layer?.backgroundColor = L_Yellow
Expand All @@ -32,25 +32,25 @@ class AboutViewController: NSViewController {

// 项目地址
@IBAction func showProjectPage(_ sender: NSButton) {
let url = URL(fileURLWithPath: "https://github.com/NathanYu1124/PLR_Vision")
let url = URL(string: "https://github.com/NathanYu1124/PLR_Vision")!
NSWorkspace.shared.open(url)
}

// 关于我们
@IBAction func showUsPage(_ sender: NSButton) {
let url = URL(fileURLWithPath: "https://github.com/NathanYu1124/PLR_Vision")
let url = URL(string: "https://github.com/NathanYu1124/PLR_Vision")!
NSWorkspace.shared.open(url)
}

// 帮助支持
@IBAction func showHelpPage(_ sender: NSButton) {
let url = URL(fileURLWithPath: "https://github.com/NathanYu1124/PLR_Vision")
let url = URL(string: "https://github.com/NathanYu1124/PLR_Vision")!
NSWorkspace.shared.open(url)
}

// 更新日志
@IBAction func showLogPage(_ sender: NSButton) {
let url = URL(fileURLWithPath: "https://github.com/NathanYu1124/PLR_Vision/releases")
let url = URL(string: "https://github.com/NathanYu1124/PLR_Vision/releases")!
NSWorkspace.shared.open(url)
}
}
Loading

0 comments on commit f15e63c

Please sign in to comment.