Skip to content

Conversation

chanwutk
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Sep 26, 2022

Codecov Report

❗ No coverage uploaded for pull request base (optimized_ingestion@11c403a). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                  Coverage Diff                   @@
##             optimized_ingestion     #173   +/-   ##
======================================================
  Coverage                       ?   63.38%           
======================================================
  Files                          ?       56           
  Lines                          ?     1745           
  Branches                       ?        0           
======================================================
  Hits                           ?     1106           
  Misses                         ?      639           
  Partials                       ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@chanwutk chanwutk merged commit 92de63a into optimized_ingestion Sep 26, 2022
@chanwutk chanwutk deleted the ck/optimized-ingestion-3 branch September 26, 2022 09:55
chanwutk added a commit that referenced this pull request Aug 6, 2023
* fixed error with frame

* add mapping algorithm

* Ck/generate video (#163)

* generate video

* generate_videos

* generate video

* update poetry.lock

* In View Filter Updated (#168)


* fix for multiple intersections

* detects if any part of the intersection is in view

* Rework Pipeline (#161)

* depth_to_3d

* update ingestion pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

* add monodepth2 and Yolov5_StrongSORT_OSNet as submodules

* add tracker

* runs object recognition without saving files

* pipeline runs

* rework Frame

* update poetry.lock

* rework pipeline

* fix import

* runnable pipeline

* organize filters

* update poetry.lock

* github action

* style: [CI] format

* clean up import

* style: [CI] format

* run as module

* update Yolov5_StrongSORT_OSNet

* clean up

* style: [CI] cleanup python notebooks

* split filters

* style: [CI] format

* add classname

* style: [CI] format

* rename

* style: [CI] format

* add usecase filter

* style: [CI] format

* runnable

* style: [CI] format

* save video

* style: [CI] format

* add annotations to output video

* clean up

* style: [CI] format

* run instruction

* style: [CI] format

* cache stage result

* style: [CI] format

* output depth video

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* update monodepth

* style: [CI] format

* update in_view: execute a single db query

* style: [CI] format

* Stopped Filter (#169)

* stopped filter

* make sure that close to intersection

* updated main

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix 2d detection (#170)

* run pipeline on all videos

* style: [CI] format

* print exception

* fix

* fix

* print frames in yolo

* fix

* remove print in yolo

* print

* fix

* style: [CI] format

* fix

* add video iterator

* style: [CI] format

* test decoding

* test decoding

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* remove mono_depth_estimator

* update generate video

* fix stop filter

* fix test (#173)

* fix test

* style: [CI] cleanup python notebooks

* style: [CI] format

* fix

* update test

* print result

* print

* change mobilitydb version

* update csvs

* style: [CI] cleanup python notebooks

* fix test

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* column metadata (#174)

* column metadata

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fixed problem with in view filter (#176)

* fix inview (#177)

* Update README.md

* add segment mapping

* add typing

* add file doc string

* ignore output

* fix generate video

* style: [CI] cleanup python notebooks

* remove unused notebooks

* add segment heading in the returned segment info

* Calculate Depth from geo-spatial information (#181)

* experiment

* style: [CI] format

* test

* from 2d and road

* style: [CI] format

* remove overlay_road

* geo depth estimation

* style: [CI] format

* fix mypy

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Estimate objects' depth with geo-spatial metadata (#183)

* experiment

* style: [CI] format

* test

* from 2d and road

* style: [CI] format

* remove overlay_road

* geo depth estimation

* style: [CI] format

* fix mypy

* Overlay Road segments (#182)

* overlay road

* style: [CI] format

* overlay

* style: [CI] cleanup python notebooks

* style: [CI] format

* union type

* " around typing

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* add MonoDTR

* remove MonoDTR submodule

* Ck/tracker as module (#184)

* remove yolo tracker

* use apperception's yolo

* clean up yolo tracker

* cleanup: yolo module still breaks

* style: [CI] format

* use yolo from torch.hub

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* update yolo

* style: [CI] format

* fix typing

* style: [CI] format

* fix notebook

* fix typing

* style: [CI] format

* fix import

* style: [CI] format

* fix test

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* add conda environment

* Merge Detection Estimation module (#185)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Clean up duplicate ingest (#204)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Cleanup duplicate ingest (#206)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Cleanup duplicate ingest (#208)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

* fix polygon contains

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix segment trajectory 3 (#207)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fig13 end to end (#202)

* fix the pipeline notebook

* benchmark on front cameras

* import cameras from pickle, load sort result to db

* hardcode pipeline constructure

* delete construction of pipeline in world, fix object type filter

* working end to end

* style: [CI] format

* style: [CI] cleanup python notebooks

* ndo changes

* object_type_filter

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* Segment Trajectory with and without DetectionInfo (#205) (#209)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format



* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py




* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error



* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error





* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format



* fix lint error





* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format



* Add object type filter (#196)

* add type filter

* style: [CI] format



* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks



* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format





* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------




* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------




* Clean up duplicate ingest (#204)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

---------



* RoadPolygonInfo: sort segment lines

* style: [CI] format

* clean up

* from_tracking_3d

* style: [CI] format

* interpolate segment

* Cleanup duplicate ingest (#206)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

---------



* Cleanup duplicate ingest (#208)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

* fix polygon contains

---------



* Fix segment trajectory 3 (#207)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* style: [CI] format

---------



* Fig13 end to end (#202)

* fix the pipeline notebook

* benchmark on front cameras

* import cameras from pickle, load sort result to db

* hardcode pipeline constructure

* delete construction of pipeline in world, fix object type filter

* working end to end

* style: [CI] format

* style: [CI] cleanup python notebooks

* ndo changes

* object_type_filter

---------






---------

Co-authored-by: YongmingFrankGe <frankge_1012@outlook.com>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Yongming Ge <46760841+YongmingFrankGe@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* fix lint error

* Ingest road network with location (#210)

* ingest road with location

* style: [CI] format

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* allow empty segmentline (#211)

* Ingest road with city name (#212)

* combine cities

* style: [CI] format

* ingest road with location

* style: [CI] format

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix query bug

* style: [CI] cleanup python notebooks

* Add segmenttype to mapping (#213)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* finish final merge

* add segment type to segmentmapping and segment poing

* style: [CI] format

* fix merge

* delete ingest date csv

* Keep SegmentMapping as type for query result

* style: [CI] format

* add type

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* creating both versions of the headingAtTimestamp function (#214)

* update road ingest

* style: [CI] cleanup python notebooks

* update segment-tracking-results

* style: [CI] cleanup python notebooks

* Fig13 end to end (#216)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* import cameras from pickle, load sort result to db

* hardcode pipeline constructure

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* delete construction of pipeline in world, fix object type filter

* working end to end

* style: [CI] format

* style: [CI] cleanup python notebooks

* ndo changes

* fig13 working end to end with optimization

* add end to end pipeline to utils

* finish final merge

* fix fig13 notebook

* base pipeline constructed, error at fromtracking3d

* commit fig13 end to end before bug fix

* working base butt no output

* testing non base

* commit before merge

* infer heading from trajectory, add investigation

* add segment type to segmentmapping and segment poing

* infer heading from trajectory

* print trajectory

* pipeline works for fig13, 14

* commit changes before making structural changes

* add todos

* style: [CI] format

* style: [CI] cleanup python notebooks

* add more todos

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* Fix query analyzer (#217)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* finish final merge

* fix wrong merging in query analyzer

* style: [CI] format

* delete ingest data cs

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* Benchmark Baseline (#215)

* segment accuracy benchmark

* style: [CI] format

* style: [CI] cleanup python notebooks

* visualize segment detection

* .

* style: [CI] cleanup python notebooks

* add groundtruth stage

* style: [CI] format

* style: [CI] cleanup python notebooks

* substitute groundtruth

* add submodule to vscode

* style: [CI] format

* get tracking from groundtruth

* prepare for benchmark

* clean up

* style: [CI] format

* ignore virtual_documents

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix tests

* Fix detection estimation (#222)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* finish final merge

* add end to end fig 14 and fig 15, along with results of fig13 compared with groundtruth

* revert fig13 compare with ground truth

* style: [CI] cleanup python notebooks

* commit local change in tuning optimization for gcp

* style: [CI] format

* style: [CI] cleanup python notebooks

* add detection estimation benefit benchmark

* style: [CI] cleanup python notebooks

* style: [CI] format

* prepare for running on gcp

* style: [CI] format

* style: [CI] cleanup python notebooks

* add detection estimation benchmarks

* style: [CI] cleanup python notebooks

* style: [CI] format

* keep the fixes to detection estimation only

* style: [CI] format

* undo changes

* fix nit

* Update __init__.py

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: root <root@frank-machine-image-gpu-nuscenes-1.c.apperception.internal>

* Rewrite InView filter (#223)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* finish final merge

* add end to end fig 14 and fig 15, along with results of fig13 compared with groundtruth

* revert fig13 compare with ground truth

* style: [CI] cleanup python notebooks

* commit local change in tuning optimization for gcp

* style: [CI] format

* style: [CI] cleanup python notebooks

* add detection estimation benefit benchmark

* style: [CI] cleanup python notebooks

* style: [CI] format

* prepare for running on gcp

* style: [CI] format

* style: [CI] cleanup python notebooks

* add detection estimation benchmarks

* style: [CI] cleanup python notebooks

* style: [CI] format

* keep the fixes to detection estimation only

* style: [CI] format

* undo changes

* fix nit

* rewrite inview filter

* style: [CI] format

* style: [CI] cleanup python notebooks

* update dependency

---------

Co-authored-by: YongmingFrankGe <frankge_1012@outlook.com>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Yongming Ge <46760841+YongmingFrankGe@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: root <root@frank-machine-image-gpu-nuscenes-1.c.apperception.internal>

* benchmark In-View filter

* style: [CI] format

* style: [CI] cleanup python notebooks

* Ablation Benchmark (#224)

* run all variation

* fix benchmark

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* add video sampling order for evaluation

* Loosen segment mapping constraint (#226)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algo…
chanwutk added a commit that referenced this pull request Aug 6, 2023
* update generate video

* fix stop filter

* fix test (#173)

* fix test

* style: [CI] cleanup python notebooks

* style: [CI] format

* fix

* update test

* print result

* print

* change mobilitydb version

* update csvs

* style: [CI] cleanup python notebooks

* fix test

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* column metadata (#174)

* column metadata

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fixed problem with in view filter (#176)

* fix inview (#177)

* Update README.md

* add segment mapping

* add typing

* add file doc string

* ignore output

* fix generate video

* style: [CI] cleanup python notebooks

* remove unused notebooks

* add segment heading in the returned segment info

* Calculate Depth from geo-spatial information (#181)

* experiment

* style: [CI] format

* test

* from 2d and road

* style: [CI] format

* remove overlay_road

* geo depth estimation

* style: [CI] format

* fix mypy

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Estimate objects' depth with geo-spatial metadata (#183)

* experiment

* style: [CI] format

* test

* from 2d and road

* style: [CI] format

* remove overlay_road

* geo depth estimation

* style: [CI] format

* fix mypy

* Overlay Road segments (#182)

* overlay road

* style: [CI] format

* overlay

* style: [CI] cleanup python notebooks

* style: [CI] format

* union type

* " around typing

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* add MonoDTR

* remove MonoDTR submodule

* Ck/tracker as module (#184)

* remove yolo tracker

* use apperception's yolo

* clean up yolo tracker

* cleanup: yolo module still breaks

* style: [CI] format

* use yolo from torch.hub

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* update yolo

* style: [CI] format

* fix typing

* style: [CI] format

* fix notebook

* fix typing

* style: [CI] format

* fix import

* style: [CI] format

* fix test

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* add conda environment

* Merge Detection Estimation module (#185)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Clean up duplicate ingest (#204)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Cleanup duplicate ingest (#206)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Cleanup duplicate ingest (#208)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

* fix polygon contains

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix segment trajectory 3 (#207)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fig13 end to end (#202)

* fix the pipeline notebook

* benchmark on front cameras

* import cameras from pickle, load sort result to db

* hardcode pipeline constructure

* delete construction of pipeline in world, fix object type filter

* working end to end

* style: [CI] format

* style: [CI] cleanup python notebooks

* ndo changes

* object_type_filter

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* Segment Trajectory with and without DetectionInfo (#205) (#209)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format



* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py




* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error



* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error





* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format



* fix lint error





* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format



* Add object type filter (#196)

* add type filter

* style: [CI] format



* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks



* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format





* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------




* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------




* Clean up duplicate ingest (#204)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

---------



* RoadPolygonInfo: sort segment lines

* style: [CI] format

* clean up

* from_tracking_3d

* style: [CI] format

* interpolate segment

* Cleanup duplicate ingest (#206)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

---------



* Cleanup duplicate ingest (#208)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* map detection to segment

* style: [CI] format

* update notebook

* use original images for videos

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

* benchmark notebook

* style: [CI] cleanup python notebooks

* style: [CI] format

* fix polygon contains

---------



* Fix segment trajectory 3 (#207)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

* style: [CI] format

---------



* Fig13 end to end (#202)

* fix the pipeline notebook

* benchmark on front cameras

* import cameras from pickle, load sort result to db

* hardcode pipeline constructure

* delete construction of pipeline in world, fix object type filter

* working end to end

* style: [CI] format

* style: [CI] cleanup python notebooks

* ndo changes

* object_type_filter

---------






---------

Co-authored-by: YongmingFrankGe <frankge_1012@outlook.com>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Yongming Ge <46760841+YongmingFrankGe@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* fix lint error

* Ingest road network with location (#210)

* ingest road with location

* style: [CI] format

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* allow empty segmentline (#211)

* Ingest road with city name (#212)

* combine cities

* style: [CI] format

* ingest road with location

* style: [CI] format

* style: [CI] cleanup python notebooks

* clean up

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix query bug

* style: [CI] cleanup python notebooks

* Add segmenttype to mapping (#213)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* finish final merge

* add segment type to segmentmapping and segment poing

* style: [CI] format

* fix merge

* delete ingest date csv

* Keep SegmentMapping as type for query result

* style: [CI] format

* add type

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* creating both versions of the headingAtTimestamp function (#214)

* update road ingest

* style: [CI] cleanup python notebooks

* update segment-tracking-results

* style: [CI] cleanup python notebooks

* Fig13 end to end (#216)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* import cameras from pickle, load sort result to db

* hardcode pipeline constructure

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* delete construction of pipeline in world, fix object type filter

* working end to end

* style: [CI] format

* style: [CI] cleanup python notebooks

* ndo changes

* fig13 working end to end with optimization

* add end to end pipeline to utils

* finish final merge

* fix fig13 notebook

* base pipeline constructed, error at fromtracking3d

* commit fig13 end to end before bug fix

* working base butt no output

* testing non base

* commit before merge

* infer heading from trajectory, add investigation

* add segment type to segmentmapping and segment poing

* infer heading from trajectory

* print trajectory

* pipeline works for fig13, 14

* commit changes before making structural changes

* add todos

* style: [CI] format

* style: [CI] cleanup python notebooks

* add more todos

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* Fix query analyzer (#217)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* finish final merge

* fix wrong merging in query analyzer

* style: [CI] format

* delete ingest data cs

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>

* Benchmark Baseline (#215)

* segment accuracy benchmark

* style: [CI] format

* style: [CI] cleanup python notebooks

* visualize segment detection

* .

* style: [CI] cleanup python notebooks

* add groundtruth stage

* style: [CI] format

* style: [CI] cleanup python notebooks

* substitute groundtruth

* add submodule to vscode

* style: [CI] format

* get tracking from groundtruth

* prepare for benchmark

* clean up

* style: [CI] format

* ignore virtual_documents

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix tests

* Fix detection estimation (#222)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* finish final merge

* add end to end fig 14 and fig 15, along with results of fig13 compared with groundtruth

* revert fig13 compare with ground truth

* style: [CI] cleanup python notebooks

* commit local change in tuning optimization for gcp

* style: [CI] format

* style: [CI] cleanup python notebooks

* add detection estimation benefit benchmark

* style: [CI] cleanup python notebooks

* style: [CI] format

* prepare for running on gcp

* style: [CI] format

* style: [CI] cleanup python notebooks

* add detection estimation benchmarks

* style: [CI] cleanup python notebooks

* style: [CI] format

* keep the fixes to detection estimation only

* style: [CI] format

* undo changes

* fix nit

* Update __init__.py

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: root <root@frank-machine-image-gpu-nuscenes-1.c.apperception.internal>

* Rewrite InView filter (#223)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup python notebooks

* new mapping benchmark

* clean up comments

* style: [CI] cleanup python notebooks

* style: [CI] format

* enable cache in strongsort

* style: [CI] format

* add customized predicate for detection_estimation to prune detection, and add fig14 pipeline

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>

* Fix road type (#201)

* fix the pipeline notebook

* benchmark on front cameras

* fix road type

* style: [CI] cleanup python notebooks

---------

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.EDU>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* finish final merge

* add end to end fig 14 and fig 15, along with results of fig13 compared with groundtruth

* revert fig13 compare with ground truth

* style: [CI] cleanup python notebooks

* commit local change in tuning optimization for gcp

* style: [CI] format

* style: [CI] cleanup python notebooks

* add detection estimation benefit benchmark

* style: [CI] cleanup python notebooks

* style: [CI] format

* prepare for running on gcp

* style: [CI] format

* style: [CI] cleanup python notebooks

* add detection estimation benchmarks

* style: [CI] cleanup python notebooks

* style: [CI] format

* keep the fixes to detection estimation only

* style: [CI] format

* undo changes

* fix nit

* rewrite inview filter

* style: [CI] format

* style: [CI] cleanup python notebooks

* update dependency

---------

Co-authored-by: YongmingFrankGe <frankge_1012@outlook.com>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Yongming Ge <46760841+YongmingFrankGe@users.noreply.github.com>
Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: root <root@frank-machine-image-gpu-nuscenes-1.c.apperception.internal>

* benchmark In-View filter

* style: [CI] format

* style: [CI] cleanup python notebooks

* Ablation Benchmark (#224)

* run all variation

* fix benchmark

* style: [CI] cleanup python notebooks

* style: [CI] format

---------

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* add video sampling order for evaluation

* Loosen segment mapping constraint (#226)

* add helper functions for detection algorithm

* style: [CI] format

* algorithms necessary functions finish, integration testing not completely done

* delete trailing lines

* add test

* finish all implementation of sample plan, unit tested through notebook

* end to end flow succeed, integration testing ongoing

* thorough run of videos

* fix ego exit segment

* fix small bug

* fix detection problem after ego exit fix

* style: [CI] format

* add doc string

* revert data files

* .

* typing

* annotate typing

* add necessary typing

* style: [CI] format

* add ego stop action

* fix import

* Integrate detection estimation to pipeline (#186)

* .

* style: [CI] format

* split yolo and strongsort

* add detection estimation

* style: [CI] format

* style: [CI] format

* run detection estimation with pipeline

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix errors

* fix error

* clean up

* style: [CI] format

* detection estimation as stage

* style: [CI] format

* add detection_estimation to notebook

* style: [CI] format

* use logger instead of print

* style: [CI] format

* fix typing in python3.8

* style: [CI] format

* clean up

* style: [CI] format

* add TODO for detection coversio

* Add 3d calibration against the road segment (#187)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix flake errors

* Update __init__.py

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* benchmark

* fix LineString error + output trajectories for benchmark

* style: [CI] format

* performance benchmark

* Detection Estimation: add 3D detection and output DetectionInfo (#189)

* add 3d detection and DetectionInfo

* style: [CI] format

* fix numpy operations

* update nb

* style: [CI] format

* document 3d detection dimensions

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix algorithms with new discovery in segment lines (#188)

* fix algorithms with new discovery in segment lines

* style: [CI] format

* include intersection in detection info so that it could be passed down

* style: [CI] format

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* cleanup duplicate road segments

* style: [CI] format

* allow none uid

* fix test

* fix linting error

* video with skipped frames

* style: [CI] format

* Construct segment trajectory (#191)

* add to do of car_loc3d conversion

* tested, including segment line in the road segment

* add location calibration

* style: [CI] format

* fix bug in intersection extended lines

* add stage of constructing segment trajectory

* style: [CI] format

* add docstring

* fix docstring

* style: [CI] format

* fix function naming

* style: [CI] format

* fix import

* style: [CI] format

* typing

* style: [CI] format

* add complete story algorithm

* style: [CI] format

* initial push of the segment trajectory stage

* style: [CI] format

* integrate segment trajectory to pipeline (#192)

* integrate to pipeline

* style: [CI] format

* fix type

* run benchmark

* style: [CI] format

* clean up and update instructions

* clean up playground

* style: [CI] cleanup python notebooks

* update dir

* style: [CI] cleanup python notebooks

* fix errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* fix lint error

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <30903997+chanwutk@users.noreply.github.com>

* add detection type annotation

* fix detection estimation errors (#195)

* fix detection estimation errors

* style: [CI] cleanup python notebooks

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Add object type filter (#196)

* add type filter

* style: [CI] format

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* Fix Detection Estimation segment mapping (#197)

* fix polygon contains

* style: [CI] format

* fix postgis LineString[] typing

* style: [CI] cleanup python notebooks

Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>

* pruning testing of detection estimation (#199)

* pruning testing of detection estimation

* style: [CI] format

* add type

* style: [CI] format

Co-authored-by: Apperception Service <apperception@freddie.Millennium.Berkeley.edu>
Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
Co-authored-by: Chanwut (Mick) Kittivorawong <chanwutk@gmail.com>

* fix the pipeline notebook

* benchmark on front cameras

* Optimized mapping (#200)

* new mapping

* style: [CI] format

* disable pruning and fix pipeline

* fix detection estimation pipeline for new mapping

* style: [CI] cleanup p…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant