Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

NameError: name 'CallPipeline' is not defined #2

Open
Curiousliu opened this issue May 20, 2019 · 0 comments
Open

NameError: name 'CallPipeline' is not defined #2

Curiousliu opened this issue May 20, 2019 · 0 comments

Comments

@Curiousliu
Copy link

Curiousliu commented May 20, 2019

When I run Video_Lane_detecct.py, I meet this problem. But I have imported pipeline.py. I do not know what i should input here.
video_output1 = 'test1.MOV'
video_input1 = VideoFileClip('project_video.mp4')#.subclip(20,25)
processed_video = video_input1.fl_image(CallPipeline)
print("1")
processed_video.write_videofile(video_output1, audio=False)
print("done")
video_input1.reader.close()
video_input1.audio.reader.close_proc()
And the problem shows that:
F:\Anaconda\ana\envs\tf\python.exe G:/车道线识别传统/SEU_LaneDetect-master/SEU_LaneDetect-master/src/video_lane_detecct.py
laneImage (700, 1100, 3)
new_img (700, 1100, 3)
Traceback (most recent call last):
File "G:/车道线识别传统/SEU_LaneDetect-master/SEU_LaneDetect-master/src/video_lane_detecct.py", line 21, in <module>
processed_video = video_input1.fl_image(CallPipeline)
NameError: name 'CallPipeline' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant