Skip to content

pkcktkksh98/palmtree_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palm Tree Detection

Detect palm tree using YOLO V8 model and having .gpkj as the final output.

Step by step

1) Installation requirement

  • Make sure you have install PYTHON and GIT on your computer.

  • Follow the step to install Anaconda from the documentation.

  • Press WINDOWS button and find Anaconda Prompt.

  • Screenshot 2023-08-11 143325

  • Check if you have install CUDA by running this line in the prompt.

nvidia-smi
[OUTPUT]

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.98                 Driver Version: 535.98       CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                     TCC/WDDM  | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3080 Ti   WDDM  | 00000000:01:00.0  On |                  N/A |
| 31%   59C    P2             208W / 400W |   2416MiB / 12288MiB |     54%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
  • If you did not get the output, you can go to this link. Once you have install, check the output again.
  • Then you may change to the desired directory.
cd folder/directory
  • Download this repository
git clone https://github.com/pkcktkksh98/palmtree_detection.git
cd palmtree_detection
  • Download Yolo V8 repository here using git clone.
  • Now install ultralytics for Yolo V8 usage.
conda install -c conda-forge ultralytics

2) Folder Management

  • In the palmtree_detection folder should contain

    • adds
    • image
    • sdpr.pt
    • README.md
    • Tree_Counting.ipynb
    • ultralytics
  • Move Tree_Counting.ipynb, sdpr.pt and adds into ultralytics folder.

3) Execution

  • To execute Jupyter Notebook, you can run jupyter notebook in Anaconda Prompt terminal and it will open in one of the browser.

  • You may open the Tree Counting.ipynb file in Jupyter Notebook.

  • Make sure to change the name of the estate.

  • Screenshot 2023-08-11 142517

  • The "source" variable is the directory to the Folder that contains IMG folder and in it is the grided image of the estate.

  • Then you may run the program by clicking Restart & Run All.

  • Screenshot 2023-08-11 111104

  • There should be two (2) new folder created in the source directory.

    • predict
    • GPKJ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published