Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Slicing Multithread 8250 app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Quan
Slicing Multithread 8250 app
Commits
90c97ff3
Commit
90c97ff3
authored
Oct 21, 2021
by
Quan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix little bug
parent
d64fc595
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
AISliceMergingThread.java
...ti/snpe/imageclassifiers/thread/AISliceMergingThread.java
+5
-5
No files found.
app/src/main/java/com/qualcomm/qti/snpe/imageclassifiers/thread/AISliceMergingThread.java
View file @
90c97ff3
...
@@ -81,15 +81,15 @@ public class AISliceMergingThread extends Thread{
...
@@ -81,15 +81,15 @@ public class AISliceMergingThread extends Thread{
// paint.setColor(Color.RED); // color is red
// paint.setColor(Color.RED); // color is red
// paint.setStyle(Paint.Style.STROKE); // stroke or fill or ...
// paint.setStyle(Paint.Style.STROKE); // stroke or fill or ...
// paint.setStrokeWidth(1); // the stroke width
// paint.setStrokeWidth(1); // the stroke width
//
for (AIResult aiResult_ : combinedResults) {
for
(
AIResult
aiResult_
:
combinedResults
)
{
//
for (Bbox box0 : aiResult_.getListBox()) {
for
(
Bbox
box0
:
aiResult_
.
getListBox
())
{
//
mergedBBoxes.add(box0);
mergedBBoxes
.
add
(
box0
);
//// Log.d(LOGTAG + "singleBoxInfo", "co-ord= " + box0.x1 + " " + box0.x2 +" " + box0.y1 + " " + box0.y2 + " | conf = " + box0.conf);
//// Log.d(LOGTAG + "singleBoxInfo", "co-ord= " + box0.x1 + " " + box0.x2 +" " + box0.y1 + " " + box0.y2 + " | conf = " + box0.conf);
// Rect r = new Rect((int) box0.x1, (int) box0.y1, (int) box0.x2, (int) box0.y2);
// Rect r = new Rect((int) box0.x1, (int) box0.y1, (int) box0.x2, (int) box0.y2);
//
//
// canvas.drawRect(r, paint);
// canvas.drawRect(r, paint);
//
}
}
//
}
}
//
//
// Log.d(LOGTAG + "combine", "saving combined image");
// Log.d(LOGTAG + "combine", "saving combined image");
// String filename = System.currentTimeMillis() + "_" + frameId + "_combined";
// String filename = System.currentTimeMillis() + "_" + frameId + "_combined";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment