You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2025. It is now read-only.
* Added shell scripts to run the object detection example on Windows and Mac OS simply. Scripts download trained model, .pbtxt file and run example against the image under the test_images folder.
* Added README file with a description of the example
This example uses tensorflow [object detection model API](https://github.com/tensorflow/models/tree/master/object_detection) and TensorFlowSharp library to identify multiple objects in a single image using .NET programming languages like C# and F#.
3. copy _'libtensorflow.dylib'_ (Mac OS) or _'libtensorflow.dll'_ (Windows) to the project output path (see where you can get the library under [Working on TensorFlowSharp](https://github.com/migueldeicaza/TensorFlowSharp#working-on-tensorflowsharp) section)
11
+
4. Run the ExampleObjectDetection util from command line:
12
+
```
13
+
ExampleObjectDetection
14
+
```
15
+
16
+
By default, the example downloads a pretrained model, but you can specify your own using the following options:
17
+
18
+
_input_image_ - optional, the path to the image for processing (the default is 'test_images/input.jpg')
19
+
_output_image_ - optional, the path where the image with detected objects will be saved (the default is 'test_images/output.jpg')
20
+
_catalog_ - optional, the path to the '*.pbtxt' file (by default, 'mscoco_label_map.pbtxt' been loaded)
21
+
_model_ - optional, the path to the '*.pb' file (by default, 'frozen_inference_graph.pb' model been used, but you can download any other from here https://github.com/tensorflow/models/blob/master/object_detection/g3doc/detection_model_zoo.md or train your own):
If you want to address a bug or a question related to the object detection example - just create a new issue on github starting with [Object Detection Example] tag.
0 commit comments