batd92 / batd92/YPLiOCR

config path model

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
bug done
Dominant language
C++
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

File: MainActivity.java

`

protected static final String MODEL_PATH_DEFAULT = "models";
protected static final String LABEL_PATH_DEFAULT = "labels";
Utils.copyAssets(this, LABEL_PATH_DEFAULT + "/" + labelPath);
String labelRealDir = new File(this.getExternalFilesDir(null), LABEL_PATH_DEFAULT + "/" + labelPath).getAbsolutePath();

Utils.copyAssets(this, configPath);
String configRealDir = new File(this.getExternalFilesDir(null), configPath).getAbsolutePath();

Utils.copyAssets(this, MODEL_PATH_DEFAULT + "/" + detModelPath);
String detRealModelDir = new File(this.getExternalFilesDir(null), MODEL_PATH_DEFAULT + "/" + detModelPath).getAbsolutePath();

Utils.copyAssets(this, MODEL_PATH_DEFAULT + "/" + clsModelPath);
String clsRealModelDir = new File(this.getExternalFilesDir(null), MODEL_PATH_DEFAULT + "/" + clsModelPath).getAbsolutePath();

Utils.copyAssets(this, MODEL_PATH_DEFAULT + "/" + recModelPath);
String recRealModelDir = new File(this.getExternalFilesDir(null), MODEL_PATH_DEFAULT + "/" + recModelPath).getAbsolutePath();

`

Contributor guide

No contributing guide indexed for this repository

Research direction

Review MainActivity.java and merged pull request #2 first, then trace how configPath, labelPath, and the model paths are copied from assets into external files. Confirm whether the merged change resolves the intended configuration-path behavior; no explicit acceptance criteria or test file is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
computer-vision, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.