Skip to content

Arnold-P-Murphy/pythoncapstone01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

pythoncapstone01

capstone for python course βœ… Step-by-Step Execution in VS Code

🧱 1. Prerequisites Make sure:

You have Python 3.x installed.

You’ve installed VS Code and the Python extension.

You’ve saved the image (capstone_coins.png) into the images/ folder.

πŸ“ 2. Folder Structure Should Look Like:

coin_identifier/

β”œβ”€β”€ images/── capstone_coins.png

β”œβ”€β”€ output/── (will contain: detected_coins.png, detection_log.txt)

β”œβ”€β”€ utils/── coin_utils.py

β”œβ”€β”€ coin_detector.py

β”œβ”€β”€ requirements.txt

🐍 3. Create Virtual Environment βœ… For Windows: python -m venv venv

venv\Scripts\activate

βœ… For macOS/Linux:

python3 -m venv venv

source venv/bin/activate

You should now see (venv) in your terminal prompt.

πŸ“¦ 4. Install Dependencies

pip install -r requirements.txt

🧠 πŸ§ͺ 6. Run the Script In your terminal (with venv activated):

python coin_detector.py

βœ… 7. Results After running:

πŸ’Ύ output/detected_coins.png: Image with labeled coins and total value.

πŸ“„ output/detection_log.txt: Text log with coin values and info.

πŸ–Ό A pop-up window will show the image with labels.

βœ… Console will print save confirmation.

❌ To Exit the Virtual Environment

deactivate

About

capstone for python course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages