Skip to content

Commit

Permalink
Enhancements to the infinite-ISP Pipeline (#4)
Browse files Browse the repository at this point in the history
* Created infinite_isp class, moved save to modules

* Removed video_processing script

* Removed a file

* Added isp_pipeline_multiple_images_script

* Resolved linting deleted file error from workflow
  • Loading branch information
bakhtawar-10xe authored Sep 4, 2023
1 parent 23f5d85 commit 9bdb4c0
Show file tree
Hide file tree
Showing 36 changed files with 1,100 additions and 611 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/linting_modified_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ jobs:
run: |
changed_files=$(git diff --name-only origin/main..HEAD | grep ".py$")
if [ "$changed_files" ]; then
echo "Running pylint on changed files:"
echo "$changed_files"
echo "$changed_files" | xargs pylint
changed_files=$(git diff --name-only origin/main..HEAD | grep ".py$")
for file in $changed_files; do
if [ -e "$file" ]; then
echo "Linting $file"
pylint "$file"
else
echo "Skipping lint for deleted file: $file"
fi
done
else
echo "No Python files have been changed."
fi
6 changes: 5 additions & 1 deletion config/configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ digital_gain:
is_debug: true
is_auto: true
# Array of pre-define Gains
gain_array: [1, 2, 4, 6, 8, 10, 12, 16, 32, 64]
gain_array: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
# Index of default gain
current_gain: 0
ae_feedback: 0
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ digital_gain:
is_debug: True
is_auto: True
# Array of pre-define Gains
gain_array: [1, 2, 4, 6, 8, 10, 12, 16, 32, 64]
gain_array: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
# Index of default gain
current_gain: 0
ae_feedback: 0
Expand Down Expand Up @@ -135,6 +139,8 @@ invalid_region_crop:
# 1: 1920x1080, 2: 1920x1440
is_enable: False
crop_to_size: 2
height_start_idx: 5
width_start_idx: 6
is_debug: true
is_save: False

Expand Down
12 changes: 9 additions & 3 deletions in_frames/normal/data/Outdoor1_2592x1536_10bit_GRBG-configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ digital_gain:
is_debug: True
is_auto: True
# Array of pre-define Gains
gain_array: [1, 2, 4, 6, 8, 10, 12, 16, 32, 64]
gain_array: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
# Index of default gain
current_gain: 0
ae_feedback: 0
Expand Down Expand Up @@ -120,8 +124,8 @@ auto_exposure:

color_space_conversion:
conv_standard: 2
is_save: false

is_save: False
2d_noise_reduction:
is_enable: True
window_size: 5
Expand All @@ -136,6 +140,8 @@ invalid_region_crop:
# 1: 1920x1080, 2: 1920x1440
is_enable: False
crop_to_size: 2
height_start_idx: 5
width_start_idx: 6
is_debug: true
is_save: False

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ digital_gain:
is_debug: True
is_auto: True
# Array of pre-define Gains
gain_array: [1, 2, 4, 6, 8, 10, 12, 16, 32, 64]
gain_array: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
# Index of default gain
current_gain: 0
ae_feedback: 0
Expand Down Expand Up @@ -136,6 +140,8 @@ invalid_region_crop:
# 1: 1920x1080, 2: 1920x1440
is_enable: False
crop_to_size: 2
height_start_idx: 5
width_start_idx: 6
is_debug: true
is_save: False

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ digital_gain:
is_debug: True
is_auto: True
# Array of pre-define Gains
gain_array: [1, 2, 4, 6, 8, 10, 12, 16, 32, 64]
gain_array: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
# Index of default gain
current_gain: 0
ae_feedback: 0
Expand Down Expand Up @@ -137,6 +141,8 @@ invalid_region_crop:
# 1: 1920x1080, 2: 1920x1440
is_enable: False
crop_to_size: 2
height_start_idx: 5
width_start_idx: 6
is_debug: true
is_save: False

Expand Down
10 changes: 8 additions & 2 deletions in_frames/normal/data/Outdoor4_2592x1536_10bit_GRBG-configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ digital_gain:
is_debug: True
is_auto: True
# Array of pre-define Gains
gain_array: [1, 2, 4, 6, 8, 10, 12, 16, 32, 64]
gain_array: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
# Index of default gain
current_gain: 0
ae_feedback: 0
Expand Down Expand Up @@ -121,7 +125,7 @@ auto_exposure:
color_space_conversion:
conv_standard: 2
is_save: false

2d_noise_reduction:
is_enable: True
window_size: 5
Expand All @@ -136,6 +140,8 @@ invalid_region_crop:
# 1: 1920x1080, 2: 1920x1440
is_enable: False
crop_to_size: 2
height_start_idx: 5
width_start_idx: 6
is_debug: true
is_save: False

Expand Down
Loading

0 comments on commit 9bdb4c0

Please sign in to comment.