-
Notifications
You must be signed in to change notification settings - Fork 3
Apperception Version 2 #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
chanwutk
wants to merge
139
commits into
main
Choose a base branch
from
dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Mar 4, 2022
Merged
Closed
4902c32
to
974ce9d
Compare
0236745
to
fec0d97
Compare
b267040
to
30e4b57
Compare
* add typings + move comments to docstring * fix error in typing * do not install type for mypy * fix type error * Automated lint and format fixes Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* add yolov5 * ignore yolo folders and update setup * yolov5 works with apperception * remove printing/saving options from yolov5-deepsort * remove TypedDict to support python 3.7 * add yolov4 back as an option for tracking * do not drop camera and world table everytime we execute; do not add same camera when execute multiple times. * use BoundingBox as object * Add interface for object recognition on a crop of video. * ignore .idea * enable recognition parts of frame * run inference once when using gpu * Automated lint and format fixes Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* set up initial test framework for scenic store * Use mongoDB for quick query in nuScenes dataset * Add box class * Update scenic_recognize to return two tables as discussed * scenic_recognize pass in a list of filenames & add frame num * Save object and camera to database * fix front end metadata view for scenic tables, query for trajectories and geo info works fine as prototyppe * write skeleton for the logic of overlay, most importantly the helper functions needed; return the trajectory now in spatial temporal form * export direct export and import tables from postgres * delete contaminated file * Remove frameId from trajectory table * transform 3d to 2d * fix a wrong tag and delete mongoclient * XinyiJi1: Doverlay, with bug of sql * fix bug * remove scenic_* prefix; prepare for combining the original and scenic world * replace world with scenic_world * clean up util * clean up video_util.py * clean up * fix errors from rebase * clean up insert_general_trajectory * Automated lint and format fixes * indent using spaces * clean up * add support for directly import all mini dataset, have uploaded the data to drive + delete jupyter for mere + fix bug Co-authored-by: YongmingFrankGe <frankge_1012@outlook.com> Co-authored-by: eeeeenchanted <597380714@qq.com> Co-authored-by: Jim Lin <b04705003@ntu.edu.tw> Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* run codecov * add codecov secret * fix * generate coverage file and ignore * ignore legacy code * ignore __init__.py
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5 +/- ##
=======================================
Coverage ? 64.33%
=======================================
Files ? 63
Lines ? 2013
Branches ? 0
=======================================
Hits ? 1295
Misses ? 718
Partials ? 0 ☔ View full report in Codecov by Sentry. |
* fig-15 investigate, the query is correct and runnable, ahead might be the main function to look at for debugging * style: [CI] cleanup python notebooks * style: [CI] format * fix fig15 to match scenic output with one extra condition * style: [CI] cleanup python notebooks * add test for ahead Co-authored-by: YongmingFrankGe <frankge_1012@outlook.com> Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* timestamp attribute added to bbox table, and contained() function implemented for stbox types * updated bbox csv data and updated fig12 query * set up absolute camera translation * same region fix * contained() margin of error * contained_margin() implemented, fig12 mostly good to go * tests
* add docker ci * separate commands * get log * test * print logs * print logs * wait for mobilitidb to finish setup * fix * wait * add password * wait in command * setup mobilitydb first * setup * use service * ingest tables in github action * run python with poetry * style: [CI] format * style: [CI] cleanup python notebooks * fix circular dependency * fix typo * add database test * remove import pytest * fix sql error when receiving and empty result * style: [CI] format Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com> Co-authored-by: YongmingFrankGe <frankge_1012@outlook.com>
* ingest road to github action * add test * fix error * commit * test ingest road * fix syntax * fix test * fix * fix
* auto test fig 13 * run test * fix test * syntax
* add fig 14 to auto test * fix * style: [CI] cleanup python notebooks * fix * fix Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* add fig-15 * style: [CI] cleanup python notebooks * fix Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* translation attribute added * sql function apperception implementations updated * fig12 query updated * data ingestion files updated * fig12 test Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* remove QueryType * style: [CI] format * fix typing * test * fix * fix test * add overlapping condition * fix typo * fix Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* add fig16 query and make it runnable, need to be fixed with new query plan and lanetoright function * style: [CI] cleanup python notebooks * add customized sql function to find lanetoright * style: [CI] cleanup python notebooks * use laneToRight property for finding lanes with a lane to their right * style: [CI] cleanup python notebooks * test fig 16 * add test * fix Co-authored-by: YongmingFrankGe <frankge_1012@outlook.com> Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* ingest data * style: [CI] cleanup python notebooks Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* add images to ci * fix * update path
* overlay_trajectory utils file created * overlay_trajectory() barebones functionality working * overlay_stats working * overlay_objects working * overlay_road working back to previous, still needs to be fixed * some updates * getting trajectory fixed * keep whole video working * overlay objects working for whole video * test error fixed * fixed typing * ingest data csv notebook * moved overlay_trajectory out of world.py * moved overlay_trajectory out of world.py * style: [CI] format Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* world2 * world2 * predicate rework * add translations * style: [CI] cleanup python notebooks * style: [CI] format * add custom_fn * style: [CI] format * refactor custom functions * style: [CI] format * clean up * clean up * style: [CI] cleanup python notebooks * style: [CI] format * extract * style: [CI] cleanup python notebooks * update error * add min distance * style: [CI] cleanup python notebooks * style: [CI] format * translate to new query * style: [CI] cleanup python notebooks * translate * style: [CI] cleanup python notebooks * fig 15 * style: [CI] cleanup python notebooks * test figs * fix typing * style: [CI] format * fix test_world * fix test_overaly_trajectory * fix test * fig 13 * remove fn_to_sql Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* roadDirection for camera * function for the gen traj roadDirection attr complete * roadDirection for traj table * db changes finished * test fixed Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* add segmenttype attribute to db, in order for fast query * add segmenytpolygon index * minDistance optimized * fig13 updated with optimized Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* optimized contains function * optimized fig12
* update * update
* optimize minDistance * style: [CI] cleanup python notebooks * style: [CI] format * fix typing * style: [CI] format * normalize predicates in test * . * fix test_predicate * fix predicate * optimize data for test * update poetry.lock * fix test_predicate * update poetry check * fix test_contains_all * fix test_fig_15 * print * print dependencies * update poetry config Co-authored-by: Github Actions Bot <apperception-actions-bot@users.noreply.github.com>
* fix mypy * clean up * ls * ls * clean up * . * clean up * do not cache
* 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…
* 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.