Skip to content

Instantly share code, notes, and snippets.

View JordaanFouche's full-sized avatar

JordaanFouche

View GitHub Profile
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"id": "d7b3a924-e561-45eb-8c33-693610c0d147",
"metadata": {},
"outputs": [
{
"name": "stdout",
@JordaanFouche
JordaanFouche / deepseek_python_20260725_c075f8.py
Created July 25, 2026 13:45
"OTV Fracture Analysis - Corrections Needed"
def detect_fractures(self, image, depth_top, depth_bottom):
"""Detect fractures in the image using specified method"""
# ... existing edge detection code ...
# For each detected line, calculate fracture parameters
fractures = []
for line in lines:
x1, y1, x2, y2 = line[0]