Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.4.0 #140

Merged
merged 74 commits into from
May 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
d898c15
Renamed files to match with python examples and added a new example
csaba-luxonis Apr 14, 2021
01abdd7
Add depth preview
csaba-luxonis Apr 14, 2021
4a70bcb
Merge remote-tracking branch 'origin/develop' into renamed_and_new_ex…
csaba-luxonis Apr 14, 2021
8b511e8
Changed 04 to match with python
csaba-luxonis Apr 15, 2021
266e9b6
Add rgb mono encoding example to cpp
csaba-luxonis Apr 16, 2021
9c0f6c0
Add mono camera control and fixed encodings
csaba-luxonis Apr 19, 2021
295f4c7
Add depth crop control
csaba-luxonis Apr 19, 2021
507d569
Add rgb and mono full resolution saver
csaba-luxonis Apr 20, 2021
f6fca64
Add mono mobilenet cpp example
csaba-luxonis Apr 22, 2021
f3feafb
Add mono depth mobilenet example
csaba-luxonis Apr 22, 2021
f209884
Synch
csaba-luxonis Apr 22, 2021
f1fb1ed
Add rgb encoding mono mobilenet with depth
csaba-luxonis Apr 23, 2021
0f65db1
Add encoding max limit example
csaba-luxonis Apr 23, 2021
f9c7daf
Add rgb mobilenet 4k example
csaba-luxonis Apr 26, 2021
e8e5631
Upgraded rgb mobilenet example
csaba-luxonis Apr 26, 2021
59dd7fc
Add rgb encoding mobilenet
csaba-luxonis Apr 26, 2021
2ea179b
Add video mobilenet and fix some others
csaba-luxonis Apr 27, 2021
779e6e0
Optimization, comments
csaba-luxonis Apr 28, 2021
fbcb74e
Pipeline: add custom camera tuning blob option
alex-luxonis Apr 29, 2021
45c5104
Optimization, comments.
csaba-luxonis Apr 29, 2021
f219a79
Replace RawImgFrame with ImgFrame
csaba-luxonis Apr 29, 2021
4a0ed59
Merge remote-tracking branch 'origin/develop' into renamed_and_new_ex…
csaba-luxonis Apr 29, 2021
0e2e1f4
Resolved some warnings
csaba-luxonis Apr 29, 2021
e8e0c71
Remove numbers and some optimization
csaba-luxonis May 2, 2021
5e07c16
Merge remote-tracking branch 'origin/develop' into renamed_and_new_ex…
csaba-luxonis May 3, 2021
14f6b6e
Disable median filter to avoid warning
csaba-luxonis May 3, 2021
58a7713
Remove whitespaces
csaba-luxonis May 3, 2021
3b8cace
Comments
csaba-luxonis May 4, 2021
5571934
Renamed examples
csaba-luxonis May 5, 2021
5e9845b
Merge remote-tracking branch 'origin/develop' into camera_custom_tuning
alex-luxonis May 6, 2021
28f8440
Fix formatting, fix a merge issue
alex-luxonis May 6, 2021
29327c9
Remove redundant in/out flags from ifstream/ofstream across codebase
alex-luxonis May 6, 2021
5fee02c
Rename
csaba-luxonis May 6, 2021
a642d41
Merge remote-tracking branch 'origin/develop' into HEAD
csaba-luxonis May 7, 2021
fa77872
Remove duplicated example
csaba-luxonis May 7, 2021
077dba1
Fixing errors
csaba-luxonis May 10, 2021
9aa71f7
Renamed rgb_depth_aligned_example to rgb_depth_aligned
csaba-luxonis May 10, 2021
d0212df
Fix createDirectory for windows
csaba-luxonis May 10, 2021
d6ed867
Comments
csaba-luxonis May 10, 2021
4903823
Merge pull request #131 from luxonis/camera_custom_tuning
alex-luxonis May 10, 2021
03a1773
added a function in stereo node that returns the maxDisparity. Also c…
Erol444 May 11, 2021
8ce04da
fixes for the PR
Erol444 May 12, 2021
a84d293
removed void from the function's arguments
Erol444 May 14, 2021
59ae7ca
Merge pull request #132 from luxonis/getMaxDisparity
Erol444 May 14, 2021
54c38ea
Fixed getMaxDisparity calculation
Erol444 May 14, 2021
be20e5e
Merge pull request #133 from luxonis/getMaxDisparity
Erol444 May 14, 2021
c58a1c0
Added getUsbSpeed
themarpe May 16, 2021
0259335
Added printing helpers and UsbSpeed example
themarpe May 17, 2021
72b7400
Fixed style
themarpe May 17, 2021
c1aee51
Merge branch 'usb_speed' into develop
themarpe May 17, 2021
2c27af5
Remove unnecessary libraries, improving the code
csaba-luxonis May 17, 2021
85c9b2f
OV9282: fix over-exposure outdoors, in sunlight
alex-luxonis May 17, 2021
916f9cd
Hotfix - Lossless encoding
themarpe May 17, 2021
6ae13d2
Merge remote-tracking branch 'origin/develop' into HEAD
csaba-luxonis May 18, 2021
aa6cb88
Sync cpp examples with latest python
csaba-luxonis May 18, 2021
74f7846
Synch
csaba-luxonis May 18, 2021
8378d6c
Update FW: stereo fixes: LR-check flip, `depth` align to RGB
alex-luxonis May 19, 2021
3b92357
ImgFrame CV conversion: more verbose about size mismatch
alex-luxonis May 19, 2021
7ac3b20
Merge pull request #110 from luxonis/renamed_and_new_examples
csaba-luxonis May 19, 2021
ed7698d
Update FW with fix for random crashes (kernel crash on RPI/jetson)
SzabolcsGergely May 21, 2021
9c97233
Merge remote-tracking branch 'origin/develop' into ov9282_over_exposu…
alex-luxonis May 21, 2021
63727bc
Update FW
SzabolcsGergely May 21, 2021
e14fd39
MonoCamera: add `raw` output. Update FW: OV9282 min autoexposure 20us
alex-luxonis May 21, 2021
11d2a4d
Update FW
SzabolcsGergely May 22, 2021
f45b13b
Revert RPC mutex lock; it's reported that has issues on Windows
SzabolcsGergely May 22, 2021
5eac50c
Merge pull request #138 from luxonis/usb_crash_mitigation
SzabolcsGergely May 22, 2021
7fee3fe
Merge remote-tracking branch 'origin/develop' into ov9282_over_exposu…
alex-luxonis May 24, 2021
c7982f0
Merge pull request #135 from luxonis/ov9282_over_exposure_fix
alex-luxonis May 24, 2021
579d9ea
Merge remote-tracking branch 'origin/develop' into stereo_fixes_2
alex-luxonis May 24, 2021
1f3bed0
Update FW, update `setRectifyMirrorFrame` functionaliy/description
alex-luxonis May 24, 2021
f899a93
Comment out for now ImgFrame excess data warning,
alex-luxonis May 24, 2021
7fb703d
Merge pull request #139 from luxonis/stereo_fixes_2
alex-luxonis May 24, 2021
7cfa63b
Merge remote-tracking branch 'origin/main' into HEAD
SzabolcsGergely May 24, 2021
925b805
Bump version to 2.4.0
SzabolcsGergely May 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if(WIN32)
endif()

# Create depthai project
project(depthai VERSION "2.3.0" LANGUAGES CXX C)
project(depthai VERSION "2.4.0" LANGUAGES CXX C)
get_directory_property(has_parent PARENT_DIRECTORY)
if(has_parent)
set(DEPTHAI_VERSION ${PROJECT_VERSION} PARENT_SCOPE)
Expand Down
2 changes: 1 addition & 1 deletion cmake/Depthai/DepthaiDeviceSideConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")

# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "16652fb049b5a9b47e3098d94fb9cedc353f82e9")
set(DEPTHAI_DEVICE_SIDE_COMMIT "556a856e85570e0d874d19b305a0080a8f1f58bf")

# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
162 changes: 106 additions & 56 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,6 @@ endmacro()

# Hunter test data download

## message(STATUS "Location of test1.data: ${test1_data}")

# Color camera preview output example
dai_add_example(camera_preview src/camera_preview_example.cpp)

# Color camera video output example
dai_add_example(camera_video src/camera_video_example.cpp)

# Mono camera video output example
dai_add_example(mono_camera src/mono_camera_example.cpp)

# NeuralNetwork node, mobilenet example
hunter_private_data(
URL "https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob"
Expand All @@ -91,6 +80,14 @@ hunter_private_data(
LOCATION tiny_yolo_v4_blob
)

# NeuralNetwork node, mobilenet example, 5 shaves
hunter_private_data(
URL "https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_5shave.blob"
SHA1 "d715f85e474609cf3f696d7a2e3750804ed6c726"
FILE "mobilenet-ssd_openvino_2021.2_5shave.blob"
LOCATION mobilenet_5shaves_blob
)

# NeuralNetwork node, mobilenet example, 8 shaves
hunter_private_data(
URL "https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_8shave.blob"
Expand All @@ -99,80 +96,133 @@ hunter_private_data(
LOCATION mobilenet_8shaves_blob
)

dai_add_example(camera_mobilenet src/camera_mobilenet_example.cpp)
target_compile_definitions(camera_mobilenet PRIVATE BLOB_PATH="${mobilenet_blob}")
# Video file with objects to detect
hunter_private_data(
URL "https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/construction_vest.mp4"
SHA1 "271d8d0b702e683ce02957db7c100843de5ceaec"
FILE "construction_vest.mp4"
LOCATION construction_vest
)

# NeuralNetwork node, webcam input (from host)
dai_add_example(webcam_mobilenet src/webcam_mobilenet_example.cpp)
target_compile_definitions(webcam_mobilenet PRIVATE BLOB_PATH="${mobilenet_8shaves_blob}")
## message(STATUS "Location of test1.data: ${test1_data}")

# MJPEG encoding
dai_add_example(mjpeg_encoding src/mjpeg_encoding_example.cpp)
# RGB camera preview output example
dai_add_example(rgb_preview src/rgb_preview.cpp)

# h264 encoding
dai_add_example(h264_encoding src/h264_encoding_example.cpp)
# Mono camera preview output example
dai_add_example(mono_preview src/mono_preview.cpp)

# StereoDepth example
dai_add_example(stereo src/stereo_example.cpp)
# Depth preview output example
dai_add_example(depth_preview src/depth_preview.cpp)

# Image Manip node examples
dai_add_example(image_manip src/image_manip_example.cpp)
dai_add_example(image_manip_warp src/image_manip_warp_example.cpp)
# rgb encoding
dai_add_example(rgb_encoding src/rgb_encoding.cpp)

# Color Camera config example
dai_add_example(color_camera_control src/color_camera_control_example.cpp)
# rgb+mono encoding
dai_add_example(rgb_mono_encoding src/rgb_mono_encoding.cpp)

# System information example
dai_add_example(system_information src/system_information_example.cpp)
dai_add_example(rgb_full_resolution_saver src/rgb_full_resolution_saver.cpp)

# Device getQueueEvent example
dai_add_example(device_queue_event src/device_queue_event_example.cpp)
dai_add_example(mono_full_resolution_saver src/mono_full_resolution_saver.cpp)

# OpenCV support example
dai_add_example(opencv_support src/opencv_support_example.cpp)
dai_add_example(rgb_mobilenet src/rgb_mobilenet.cpp)
target_compile_definitions(rgb_mobilenet PRIVATE BLOB_PATH="${mobilenet_blob}")

# RGB-depth alignment example
dai_add_example(rgb_depth_aligned src/rgb_depth_aligned_example.cpp)
dai_add_example(mono_mobilenet src/mono_mobilenet.cpp)
target_compile_definitions(mono_mobilenet PRIVATE BLOB_PATH="${mobilenet_blob}")

# Device side decoding example for mobilenet-ssd
dai_add_example(mobilenet_device_side_decoding src/mobilenet_device_side_decoding_example.cpp)
target_compile_definitions(mobilenet_device_side_decoding PRIVATE BLOB_PATH="${mobilenet_blob}")
dai_add_example(mono_depth_mobilenetssd src/mono_depth_mobilenetssd.cpp)
target_compile_definitions(mono_depth_mobilenetssd PRIVATE BLOB_PATH="${mobilenet_blob}")

# Device side decoding example for mobilenet-ssd with 3d coordinates on RGB camera
dai_add_example(spatial_mobilenet src/spatial_mobilenet_example.cpp)
target_compile_definitions(spatial_mobilenet PRIVATE BLOB_PATH="${mobilenet_blob}")
dai_add_example(rgb_encoding_mono_mobilenet src/rgb_encoding_mono_mobilenet.cpp)
target_compile_definitions(rgb_encoding_mono_mobilenet PRIVATE BLOB_PATH="${mobilenet_blob}")

# Device side decoding example for mobilenet-ssd with 3d coordinates on right camera
dai_add_example(spatial_mobilenet_mono src/spatial_mobilenet_mono_example.cpp)
target_compile_definitions(spatial_mobilenet_mono PRIVATE BLOB_PATH="${mobilenet_blob}")
dai_add_example(rgb_encoding_mono_mobilenet_depth src/rgb_encoding_mono_mobilenet_depth.cpp)
target_compile_definitions(rgb_encoding_mono_mobilenet_depth PRIVATE BLOB_PATH="${mobilenet_blob}")

dai_add_example(encoding_max_limit src/encoding_max_limit.cpp)

# RGB Camera config example
dai_add_example(rgb_camera_control src/rgb_camera_control.cpp)

dai_add_example(mono_camera_control src/mono_camera_control.cpp)

dai_add_example(depth_crop_control src/depth_crop_control.cpp)

dai_add_example(rgb_mobilenet_4k src/rgb_mobilenet_4k.cpp)
target_compile_definitions(rgb_mobilenet_4k PRIVATE BLOB_PATH="${mobilenet_5shaves_blob}")

# Device getQueueEvent example
dai_add_example(device_queue_event src/device_queue_event.cpp)

dai_add_example(video_mobilenet src/video_mobilenet.cpp)
target_compile_definitions(video_mobilenet PRIVATE BLOB_PATH="${mobilenet_8shaves_blob}" VIDEO_PATH="${construction_vest}")

dai_add_example(rgb_encoding_mobilenet src/rgb_encoding_mobilenet.cpp)
target_compile_definitions(rgb_encoding_mobilenet PRIVATE BLOB_PATH="${mobilenet_blob}")

# Image Manip node examples
dai_add_example(image_manip src/image_manip_example.cpp)

# Imagae manip node exapmle with warping
dai_add_example(rgb_rotate_warp src/rgb_rotate_warp.cpp)

# Device side decoding example for tiny-yolo-v3
dai_add_example(tiny_yolo_v3_device_side_decoding src/tiny_yolo_v3_device_side_decoding_example.cpp)
dai_add_example(tiny_yolo_v3_device_side_decoding src/tiny_yolo_v3_device_side_decoding.cpp)
target_compile_definitions(tiny_yolo_v3_device_side_decoding PRIVATE BLOB_PATH="${tiny_yolo_v3_blob}")

# Device side decoding example for tiny-yolo-v4
dai_add_example(tiny_yolo_v4_device_side_decoding src/tiny_yolo_v4_device_side_decoding_example.cpp)
dai_add_example(tiny_yolo_v4_device_side_decoding src/tiny_yolo_v4_device_side_decoding.cpp)
target_compile_definitions(tiny_yolo_v4_device_side_decoding PRIVATE BLOB_PATH="${tiny_yolo_v4_blob}")

# Sync example between NN and camera frames
dai_add_example(camera_mobilenet_sync src/camera_mobilenet_sync_example.cpp)
target_compile_definitions(camera_mobilenet_sync PRIVATE BLOB_PATH="${mobilenet_blob}")
# OpenCV support example
dai_add_example(opencv_support src/opencv_support.cpp)

# System information example
dai_add_example(system_information src/system_information.cpp)

dai_add_example(spatial_location_calculator src/spatial_location_calculator_example.cpp)
# Device side decoding example for mobilenet-ssd with 3d coordinates on RGB camera
dai_add_example(spatial_mobilenet src/spatial_mobilenet.cpp)
target_compile_definitions(spatial_mobilenet PRIVATE BLOB_PATH="${mobilenet_blob}")

# Device side decoding example for mobilenet-ssd with 3d coordinates on right camera
dai_add_example(spatial_mobilenet_mono src/spatial_mobilenet_mono.cpp)
target_compile_definitions(spatial_mobilenet_mono PRIVATE BLOB_PATH="${mobilenet_blob}")

# Device side decoding example for tiny-yolo-v3 with 3d coordinates on RGB camera
dai_add_example(spatial_tiny_yolo_v3 src/spatial_tiny_yolo_example.cpp)
dai_add_example(spatial_tiny_yolo_v3 src/spatial_tiny_yolo.cpp)
target_compile_definitions(spatial_tiny_yolo_v3 PRIVATE BLOB_PATH="${tiny_yolo_v3_blob}")

# Device side decoding example for tiny-yolo-v4 with 3d coordinates on RGB camera
dai_add_example(spatial_tiny_yolo_v4 src/spatial_tiny_yolo_example.cpp)
dai_add_example(spatial_tiny_yolo_v4 src/spatial_tiny_yolo.cpp)
target_compile_definitions(spatial_tiny_yolo_v4 PRIVATE BLOB_PATH="${tiny_yolo_v4_blob}")

dai_add_example(spatial_location_calculator src/spatial_location_calculator.cpp)

# RGB camera video output example
dai_add_example(rgb_video src/rgb_video.cpp)

# Object tracker example on mobilenet SSD output
dai_add_example(object_tracker_example src/object_tracker_example.cpp)
target_compile_definitions(object_tracker_example PRIVATE BLOB_PATH="${mobilenet_blob}")
dai_add_example(object_tracker src/object_tracker.cpp)
target_compile_definitions(object_tracker PRIVATE BLOB_PATH="${mobilenet_blob}")

# Spatial Object tracker example on mobilenet SSD output
dai_add_example(spatial_object_tracker_example src/spatial_object_tracker_example.cpp)
target_compile_definitions(spatial_object_tracker_example PRIVATE BLOB_PATH="${mobilenet_blob}")
dai_add_example(spatial_object_tracker src/spatial_object_tracker.cpp)
target_compile_definitions(spatial_object_tracker PRIVATE BLOB_PATH="${mobilenet_blob}")

# Stereo Depth example
dai_add_example(stereo_depth_video src/stereo_depth_video.cpp)

# NeuralNetwork node, webcam input (from host)
dai_add_example(webcam_mobilenet src/webcam_mobilenet_example.cpp)
target_compile_definitions(webcam_mobilenet PRIVATE BLOB_PATH="${mobilenet_8shaves_blob}")

# MJPEG encoding
dai_add_example(mjpeg_encoding src/mjpeg_encoding_example.cpp)

# RGB-depth alignment example
dai_add_example(rgb_depth_aligned src/rgb_depth_aligned.cpp)

# Sync example between NN and camera frames
dai_add_example(camera_mobilenet_sync src/camera_mobilenet_sync_example.cpp)
target_compile_definitions(camera_mobilenet_sync PRIVATE BLOB_PATH="${mobilenet_blob}")
131 changes: 0 additions & 131 deletions examples/src/camera_mobilenet_example.cpp

This file was deleted.

Loading