SYMBOL INDEX (233 symbols across 24 files) FILE: app/tflite_yolov5_test/app/src/androidTest/java/com/example/tflite_yolov5_test/ExampleInstrumentedTest.java class ExampleInstrumentedTest (line 18) | @RunWith(AndroidJUnit4.class) method useAppContext (line 20) | @Test FILE: app/tflite_yolov5_test/app/src/main/cpp/nms.h type bbox (line 8) | struct bbox{ FILE: app/tflite_yolov5_test/app/src/main/cpp/postprocess.cpp function sigmoid (line 9) | float sigmoid(float f){ function revsigmoid (line 13) | float revsigmoid(float f){ function detector (line 20) | void detector( function jobjectArray (line 84) | jobjectArray Java_com_example_tflite_1yolov5_1test_TfliteRunner_postproc... FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/ImageProcess.java class ImageProcess (line 14) | public class ImageProcess { method drawBboxes (line 32) | static public Bitmap drawBboxes(List bboxes,... FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/MainActivity.java class MainActivity (line 44) | public class MainActivity extends AppCompatActivity { method checkPermission (line 61) | private void checkPermission(){ method onRequestPermissionsResult (line 66) | @Override method isGranted (line 75) | private boolean isGranted(){ method onCreate (line 87) | @Override method OnOpenImageButtonClick (line 125) | public void OnOpenImageButtonClick(View view){ method OnOpenDirButtonClick (line 132) | public void OnOpenDirButtonClick(View view){ method setResultImage (line 138) | public void setResultImage(Bitmap bitmap){ method bboxesToMap (line 142) | ArrayList> bboxesToMap(File file, List> resList, Fi... method showErrorDialog (line 318) | private void showErrorDialog(String text){ showDialog("Error", text);} method showInfoDialog (line 319) | private void showInfoDialog(String text){ showDialog("Info", text);} method showDialog (line 320) | private void showDialog(String title, String text){ method addLog (line 327) | private void addLog(String logtxt){ method setOneLineLog (line 331) | private void setOneLineLog(String text){ method OnClearLogButton (line 335) | public void OnClearLogButton(View view) { method setImageView (line 339) | void setImageView(Bitmap bitmap){ method OnOpenCameraButtonClick (line 343) | public void OnOpenCameraButtonClick(View view){ method onActivityResult (line 351) | @Override class ImageFilenameFIlter (line 387) | class ImageFilenameFIlter implements FilenameFilter { method accept (line 388) | public boolean accept(File dir, String name) { method runInBackground (line 395) | protected synchronized void runInBackground(final Runnable r) { method getRunModeFromGUI (line 400) | private TfliteRunMode.Mode getRunModeFromGUI(){ method getInputSizeFromGUI (line 423) | public int getInputSizeFromGUI(){ method onModelFloatClick (line 429) | public void onModelFloatClick(View view) { method onModelIntClick (line 436) | public void onModelIntClick(View view) { method onPrecisionFPClick (line 444) | public void onPrecisionFPClick(View view){ method onPrecisionIntClick (line 451) | public void onPrecisionIntClick(View view){ FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/PathUtils.java class PathUtils (line 18) | public class PathUtils { method getPath (line 20) | public static String getPath(final Context context, final Uri uri) { method getDataColumn (line 93) | public static String getDataColumn(Context context, Uri uri, String se... method isExternalStorageDocument (line 115) | public static boolean isExternalStorageDocument(Uri uri) { method isDownloadsDocument (line 120) | public static boolean isDownloadsDocument(Uri uri) { method isMediaDocument (line 124) | public static boolean isMediaDocument(Uri uri) { method isGooglePhotosUri (line 128) | public static boolean isGooglePhotosUri(Uri uri) { FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/TfliteRunMode.java class TfliteRunMode (line 3) | public class TfliteRunMode { type Mode (line 4) | public enum Mode{ method isQuantizedMode (line 12) | static public boolean isQuantizedMode(Mode mode){ FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/TfliteRunner.java class TfliteRunner (line 30) | public class TfliteRunner { method postprocess (line 36) | public native float[][] postprocess(float[][][][] out1, float[][][][] ... class InferenceRawResult (line 40) | class InferenceRawResult{ method InferenceRawResult (line 45) | public InferenceRawResult(int inputSize){ method TfliteRunner (line 57) | public TfliteRunner(Context context, Mode runmode, int inputSize, floa... method loadModelFile (line 65) | private static MappedByteBuffer loadModelFile(AssetManager assets, Str... method loadModel (line 74) | public void loadModel(Context context, Mode runmode, int inputSize, in... method getResizedImage (line 113) | static public Bitmap getResizedImage(Bitmap bitmap, int inputSize) { method setInput (line 117) | public void setInput(Bitmap resizedbitmap){ method getLastElapsedTimeLog (line 153) | public String getLastElapsedTimeLog() { method runInference (line 156) | public List runInference(){ method get_coco91_from_coco80 (line 181) | static public int get_coco91_from_coco80(int idx){ method setConfThresh (line 185) | public void setConfThresh(float thresh){ this.conf_thresh = thresh;} method setIoUThresh (line 186) | public void setIoUThresh(float thresh) {this.iou_thresh = thresh;} class Recognition (line 190) | public class Recognition { method Recognition (line 210) | public Recognition( method getClass_idx (line 223) | public Integer getClass_idx(){ method getTitle (line 230) | public String getTitle() { method getConfidence (line 234) | public Float getConfidence() { method getLocation (line 238) | public RectF getLocation() { method setLocation (line 242) | public void setLocation(RectF location) { method toString (line 246) | @Override FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/camera/CameraActivity.java class CameraActivity (line 37) | public abstract class CameraActivity extends AppCompatActivity method onCreate (line 67) | @Override method chooseCamera (line 78) | private String chooseCamera() { method fillBytes (line 111) | protected void fillBytes(final Image.Plane[] planes, final byte[][] yu... method getScreenOrientation (line 122) | protected int getScreenOrientation() { method onPreviewFrame (line 135) | @Override method onImageAvailable (line 155) | @Override method onCheckedChanged (line 217) | @Override method onClick (line 220) | @Override method onResume (line 223) | @Override method onPause (line 232) | @Override method runInBackground (line 244) | protected synchronized void runInBackground(final Runnable r) { method getRgbBytes (line 249) | protected int[] getRgbBytes() { method readyForNextImage (line 253) | protected void readyForNextImage() { method isHardwareLevelSupported (line 258) | private boolean isHardwareLevelSupported( method setFragment (line 267) | protected void setFragment() { method processImage (line 297) | protected abstract void processImage(); method onPreviewSizeChosen (line 298) | protected abstract void onPreviewSizeChosen(final Size size, final int... method getLayoutId (line 300) | protected abstract int getLayoutId(); method getDesiredPreviewFrameSize (line 302) | protected abstract Size getDesiredPreviewFrameSize(); method setNumThreads (line 304) | protected abstract void setNumThreads(int numThreads); method setUseNNAPI (line 306) | protected abstract void setUseNNAPI(boolean isChecked); method allPermissionsGranted (line 308) | private static boolean allPermissionsGranted(final int[] grantResults) { method hasPermission (line 316) | private boolean hasPermission() { method requestPermission (line 324) | private void requestPermission() { method onRequestPermissionsResult (line 336) | @Override FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/camera/CameraConnectionFragment.java class CameraConnectionFragment (line 50) | @SuppressLint("ValidFragment") method onCaptureProgressed (line 83) | @Override method onCaptureCompleted (line 89) | @Override method onOpened (line 120) | @Override method onDisconnected (line 128) | @Override method onError (line 135) | @Override method onSurfaceTextureAvailable (line 152) | @Override method onSurfaceTextureSizeChanged (line 158) | @Override method onSurfaceTextureDestroyed (line 164) | @Override method onSurfaceTextureUpdated (line 169) | @Override method CameraConnectionFragment (line 173) | private CameraConnectionFragment( method chooseOptimalSize (line 193) | protected static Size chooseOptimalSize(final Size[] choices, final in... method newInstance (line 228) | public static CameraConnectionFragment newInstance( method showToast (line 241) | private void showToast(final String text) { method onCreateView (line 254) | @Override method onViewCreated (line 260) | @Override method onActivityCreated (line 265) | @Override method onResume (line 270) | @Override method onPause (line 286) | @Override method setCamera (line 293) | public void setCamera(String cameraId) { method setUpCameraOutputs (line 298) | private void setUpCameraOutputs() { method openCamera (line 338) | @SuppressLint("MissingPermission") method closeCamera (line 356) | private void closeCamera() { method startBackgroundThread (line 379) | private void startBackgroundThread() { method stopBackgroundThread (line 386) | private void stopBackgroundThread() { method createCameraPreviewSession (line 397) | private void createCameraPreviewSession() { method configureTransform (line 470) | private void configureTransform(final int viewWidth, final int viewHei... type ConnectionCallback (line 500) | public interface ConnectionCallback { method onPreviewSizeChosen (line 501) | void onPreviewSizeChosen(Size size, int cameraRotation); class CompareSizesByArea (line 505) | static class CompareSizesByArea implements Comparator { method compare (line 506) | @Override class ErrorDialog (line 515) | public static class ErrorDialog extends DialogFragment { method newInstance (line 518) | public static ErrorDialog newInstance(final String message) { method onCreateDialog (line 526) | @Override FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/camera/DetectorActivity.java class DetectorActivity (line 31) | public class DetectorActivity extends CameraActivity implements ImageRea... method getDesiredPreviewFrameSize (line 66) | protected Size getDesiredPreviewFrameSize() { method getLayoutId (line 70) | protected int getLayoutId() { method getConfThreshFromGUI (line 75) | public float getConfThreshFromGUI(){ return ((float)((SeekBar)findView... method getIoUThreshFromGUI (line 76) | public float getIoUThreshFromGUI(){ return ((float)((SeekBar)findViewB... method onCreate (line 77) | @Override method setUseNNAPI (line 118) | @Override method setNumThreads (line 123) | @Override method onPreviewSizeChosen (line 127) | @Override method processImage (line 179) | @Override FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/camera/LegacyCameraConnectionFragment.java class LegacyCameraConnectionFragment (line 26) | public class LegacyCameraConnectionFragment extends Fragment { method onSurfaceTextureAvailable (line 52) | @Override method onSurfaceTextureSizeChanged (line 59) | @Override method onSurfaceTextureDestroyed (line 63) | @Override method onSurfaceTextureUpdated (line 68) | @Override method LegacyCameraConnectionFragment (line 74) | @SuppressLint("ValidFragment") method onCreateView (line 82) | @Override method onViewCreated (line 88) | @Override method onActivityCreated (line 93) | @Override method onResume (line 98) | @Override method onPause (line 114) | @Override method startBackgroundThread (line 122) | private void startBackgroundThread() { method stopBackgroundThread (line 128) | private void stopBackgroundThread() { method startCamera (line 137) | private void startCamera() { method stopCamera (line 174) | protected void stopCamera() { method getCameraId (line 183) | private int getCameraId() { FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/camera/env/BorderedText.java class BorderedText (line 28) | public class BorderedText { method BorderedText (line 40) | public BorderedText(final float textSize) { method BorderedText (line 52) | public BorderedText(final int interiorColor, final int exteriorColor, ... method setTypeface (line 71) | public void setTypeface(Typeface typeface) { method drawText (line 76) | public void drawText(final Canvas canvas, final float posX, final floa... method drawText (line 81) | public void drawText( method drawLines (line 94) | public void drawLines(Canvas canvas, final float posX, final float pos... method setInteriorColor (line 102) | public void setInteriorColor(final int color) { method setExteriorColor (line 106) | public void setExteriorColor(final int color) { method getTextSize (line 110) | public float getTextSize() { method setAlpha (line 114) | public void setAlpha(final int alpha) { method getTextBounds (line 119) | public void getTextBounds( method setTextAlign (line 124) | public void setTextAlign(final Align align) { FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/camera/env/ImageUtils.java class ImageUtils (line 16) | public class ImageUtils { method getYUVByteSize (line 26) | public static int getYUVByteSize(final int width, final int height) { method saveBitmap (line 42) | public static void saveBitmap(final Bitmap bitmap) { method saveBitmap (line 52) | public static void saveBitmap(final Bitmap bitmap, final String filena... method convertYUV420SPToARGB8888 (line 74) | public static void convertYUV420SPToARGB8888(byte[] input, int width, ... method YUV2RGB (line 93) | private static int YUV2RGB(int y, int u, int v) { method convertYUV420ToARGB8888 (line 117) | public static void convertYUV420ToARGB8888( method getTransformationMatrix (line 154) | public static Matrix getTransformationMatrix( FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/camera/tracker/MultiBoxTracker.java class MultiBoxTracker (line 39) | public class MultiBoxTracker { method MultiBoxTracker (line 71) | public MultiBoxTracker(final Context context) { method setFrameConfiguration (line 89) | public synchronized void setFrameConfiguration( method drawDebug (line 98) | public synchronized void drawDebug(final Canvas canvas) { method trackResults (line 116) | public synchronized void trackResults(final List results) { method getFrameToCanvasMatrix (line 120) | private Matrix getFrameToCanvasMatrix() { method draw (line 124) | public synchronized void draw(final Canvas canvas) { method processResults (line 153) | private void processResults(final List results) { class TrackedRecognition (line 195) | private static class TrackedRecognition { FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/customview/AutoFitTextureView.java class AutoFitTextureView (line 9) | public class AutoFitTextureView extends TextureView { method AutoFitTextureView (line 13) | public AutoFitTextureView(final Context context) { method AutoFitTextureView (line 17) | public AutoFitTextureView(final Context context, final AttributeSet at... method AutoFitTextureView (line 21) | public AutoFitTextureView(final Context context, final AttributeSet at... method setAspectRatio (line 33) | public void setAspectRatio(final int width, final int height) { method onMeasure (line 42) | @Override FILE: app/tflite_yolov5_test/app/src/main/java/com/example/tflite_yolov5_test/customview/OverlayView.java class OverlayView (line 19) | public class OverlayView extends View { method OverlayView (line 22) | public OverlayView(final Context context, final AttributeSet attrs) { method addCallback (line 26) | public void addCallback(final DrawCallback callback) { method draw (line 30) | @Override type DrawCallback (line 38) | public interface DrawCallback { method drawCallback (line 39) | public void drawCallback(final Canvas canvas); FILE: app/tflite_yolov5_test/app/src/test/java/com/example/tflite_yolov5_test/ExampleUnitTest.java class ExampleUnitTest (line 12) | public class ExampleUnitTest { method addition_isCorrect (line 13) | @Test FILE: convert_model/quantize.py function quantize_model (line 9) | def quantize_model(INPUT_SIZE, pb_path, output_path, calib_num, tfds_roo... FILE: host/detector_head.py class Detect (line 5) | class Detect(nn.Module): method __init__ (line 6) | def __init__(self, nc=80, INPUT_SIZE=640): method forward (line 24) | def forward(self, x): method _make_grid (line 41) | def _make_grid(nx=20, ny=20): FILE: host/evaluate.py function evaluate_coco_dataset (line 11) | def evaluate_coco_dataset( FILE: host/metric.py class CocoMetric (line 7) | class CocoMetric(): method coco80_to_coco91_class (line 9) | def coco80_to_coco91_class(): # converts 80-index (val2014) to 91-ind... method __init__ (line 16) | def __init__(self, path_to_annotation , INPUT_SIZE=640): method load_results_from_json (line 29) | def load_results_from_json(self, json_path): method add_bboxes (line 40) | def add_bboxes(self, bboxes, im_shape, image_id): method summarize (line 64) | def summarize(self, output_json_path = None): FILE: host/postprocess.py function xywh2xyxy (line 5) | def xywh2xyxy(x): function box_iou (line 15) | def box_iou(box1, box2): function non_max_suppression (line 42) | def non_max_suppression(prediction, conf_thres=0.25, iou_thres=0.45, cla... function plot_one_box (line 122) | def plot_one_box(x, im, color=(128, 128, 128), label=None, line_thicknes... function clip_coords (line 136) | def clip_coords(boxes, shape): function scale_coords (line 147) | def scale_coords(img1_shape, coords, img0_shape, ratio_pad=None): class Colors (line 163) | class Colors: method __init__ (line 165) | def __init__(self): method __call__ (line 172) | def __call__(self, i, bgr=False): method hex2rgb (line 177) | def hex2rgb(h): # rgb order (PIL) function plot_and_save (line 182) | def plot_and_save(bboxres, input_img, path): FILE: host/runner.py class TfLiteRunner (line 11) | class TfLiteRunner(): method __init__ (line 12) | def __init__(self, model_path, INPUT_SIZE=640, conf_thres=0.25, iou_th... method __run_tflite (line 39) | def __run_tflite(self, input_data): method __preprocess (line 59) | def __preprocess(self, input_data, from_pil_img): method detect (line 83) | def detect(self, input_data, from_pil_img=False):